function PopDetail(selpic){

var picpick=selpic;

if (picpick == 5001)
{
var picplace = "storage";
var picdetail = "peakIIIusb2-flash.jpg";
var textdetail = "A range of 4 GB USB2 Flash Drives. Manufacturer or colour/Style may vary with stock.";
}

else if (picpick == 1302)
{
var picplace = "network/bluetooth";
var picdetail = "bluetoothadptrlge.jpg";
var textdetail = "A range of 50 mtr radius Bluetooth Adaptors. Manufacturer or colour/Style may vary with stock.";
}

else if (picpick == 1201)
{
var picplace = "network/wireless";
var picdetail = "wirelessadptrlge.jpg";
var textdetail = "A High quality 54Mps Wireless USB Adaptor. Manufacturer or colour/Style may vary with stock.";
}

else if (picpick == 4003)
{
var picplace = "storage";
var picdetail = "harddrive1.jpg";
var textdetail = "80 GB 7200 rpm Hard drives with an 8MB buffer.";
}

else if (picpick == 1701)
{
var picplace = "usb";
var picdetail = "webcam-starclip.jpg";
var textdetail = "A High quality Web Cam capable of 640 x 480 pixels at 25 frames per second. This cam can be clipped onto the top or side of a laptop screen.";
}

else if (picpick == 8003)
{
var picplace = "audio";
var picdetail = "audigy4-2.jpg";
var textdetail = "Creative Labs 7.1 Audigy 4 Sound card. The standard by which all sound cards are measured. Connect Theatre Surround speakers to this card and be amazed.";
}

else if (picpick == 1402)
{
var picplace = "kbrdmse";
var picdetail = "netscroll_optical_lge.jpg";
var textdetail = "Genius NetScroll Optical mouse. A quality robust mouse. No more roller cleaning or sticky movement.";
}

else if (picpick == 1002)
{
var picplace = "cpu";
var picdetail = "p4d.jpg";
var textdetail = "Intel 775Pin Dual core Processors 2 x 2MB cache. 3.2 GHz and 3.4 GHz. Build a sytem around these processors and see the difference.";
}

else if (picpick == 1801)
{
var picplace = "accessories/cables";
var picdetail = "USB-printer-cable-lge.jpg";
var textdetail = "USB Printer Cable (A-B). A 1.8 Mtr Usb Cable for use with printers. Some Webcams and digital cameras use this type of connection. (Suitability should be checked before purchase)";
}

else
{
var picplace = "accessories/cables";
var picdetail = "firewire_6-4-lge.jpg";
var textdetail = "Firewire Cable 6pin to 4 pin. A 1.8 Mtr Firewire Cable for use with Digital Video Cameras and firewire devices. Some Webcams and digital cameras use this type of connection. (Suitability should be checked before purchase)"
}

infowin = window.open("details.html","showoff","toolbar=no,width=500,height=390");
infowin.document.write("<html>");
infowin.document.write("<head>");
infowin.document.write("<meta http-equiv='content-type' content='text/html;charset=iso-8859-1'>");
infowin.document.write("<title>NetCompS - Details</title>");
infowin.document.write("<meta name='keywords' content='netcomps, computer, computers, upgrade, network, service, custom built, custom build, scotland, design, web design, internet script, business solutions, internet faxing, creative solutions, one stop business, internet design, intranet solutions, consultancy, inez'>");
infowin.document.write("<meta name='doccomm' content='All of your computing needs for the home and commercial markets. From supplying components to upgrades and building you the computer you have always wanted, you will find NCS the site to be seen visiting.'>");
infowin.document.write("<meta NAME='rating' content='Safe For Kids'>");
infowin.document.write("<meta NAME='copyright' content='NetCompS'>");
infowin.document.write("<meta NAME='author' content='W McFadden-----www.netcomps.co.uk'>");
infowin.document.write("</head>");
infowin.document.write("<body background='images/bckgrndblue.jpg' bgcolor='#ffffff' leftmargin='0' marginheight='0' marginwidth='0' topmargin='0'>");
infowin.document.write("<font face='Arial,Helvetica,Sans-Serif'><br>");
infowin.document.write("<table width='500' height='375' border='0' cellspacing='0' cellpadding='0'>");
infowin.document.write("<tr height='50'>");
infowin.document.write("<td align='center' valign='middle' width='300' height='50'><img src='images/ncslogoblue.gif' alt='' height='48' width='216' align='left' border='0'></td>");
infowin.document.write("<td rowspan='3' colspan='2' align='left' valign='bottom'><br>");
infowin.document.write("<textarea name='txt1' rows='20' cols='25' readonly>" + textdetail +"</textarea></td>");
infowin.document.write("</tr>");
infowin.document.write("<tr height='325'>");
infowin.document.write("<td rowspan='2' align='center' valign='middle' bgcolor='white' width='300'><img src='images/product/" + picplace + "/" + picdetail +"' alt='' name='pic1' height='300' width='300' border='0'><br>");
infowin.document.write("<a HREF='JavaScript:window.close()'><img src='images/product/closewindow.jpg' alt='Close this Window' height='16' width='110' border='0'></a></td>");
infowin.document.write("</tr>");
infowin.document.write("<tr>");
infowin.document.write("</tr>");
infowin.document.write("</table><br><br>");
infowin.document.write("</font>");
infowin.document.write("</body>");
infowin.document.write("</html>");
}
