// JavaScript Document
<!--  

function vmpopup(image,nWidth,nHeight,sTilte,nColor,nMargin)
{
	if (nColor=="") {
		nColor="#FFFFFF";
	}
	var adj=10;
	var w = screen.width;
	var h = screen.height;
var agent=navigator.userAgent.toLowerCase();
if(agent.indexOf("opera") != -1){
w = document.body.clientWidth;
h = document.body.clientHeight;
}
	var byFactor=1;
	if(w<740){
		var lift=0.90;
	}
	if(w>=740 & w<835){
	var lift=0.91;
	}
 if(w>=835){
var lift=0.93;
}
if (nWidth>w){	
byFactor = w / nWidth;
nWidth = w;
nHeight = nHeight * byFactor;
}
if (nHeight>h-adj){
byFactor = h / nHeight;
nWidth = (nWidth * byFactor);
nHeight = h; 
}

var scrWidth = w-adj;
var scrHeight = (h*lift)-adj;
 
if (nHeight>scrHeight){
nHeight=nHeight*lift;
nWidth=nWidth*lift;
}
var posLeft=0;
var posTop=0;
if (nMargin < 0){nMargin=0}
nMargin*=2;
var nTemp = parseInt(nHeight) + nMargin;
if (nTemp < scrHeight) {
scrHeight = nTemp;
} 
nTemp = parseInt(nWidth) + nMargin;
if (nTemp < scrWidth) {
scrWidth = nTemp;
}
if (scrHeight<100){scrHeight=100;}
if (scrWidth<100){scrWidth=100;}
posTop =  ((h-(scrHeight/lift)-adj)/2);
posLeft = ((w-(scrWidth)-adj)/2);
if (nHeight > (h*lift)-adj || nWidth > w-adj){
nHeight=nHeight-adj;
nWidth=nWidth-adj;
}
posTop = parseInt(posTop);
posLeft = parseInt(posLeft);		
scrWidth = parseInt(scrWidth); 
scrHeight = parseInt(scrHeight);
newWindow = window.open("","","width="+scrWidth+",height="+scrHeight+",left="+posLeft+",top="+posTop);
if(newWindow!=null){
	newWindow.document.open();
	newWindow.document.write('<html><title>'+sTilte+'</title>'); 
	newWindow.document.write('<meta http-equiv="imagetoolbar" content="false">');
	newWindow.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor='+nColor+' onBlur="self.close()" onClick="self.close()">'); 
	newWindow.document.write('<table width='+nWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');
	newWindow.document.write('<img src="'+image+'" width='+nWidth+' height='+nHeight+' alt="Click to close window" >');
	newWindow.document.write('</td></tr></table></body></html>');
	newWindow.document.close();
	newWindow.focus();
}
return false;
}
//-->
<!--
var win=null;
var msie=false;
var icount=0;
if(navigator.appName.indexOf('Internet Explorer')>-1 && window.location.protocol=='file:')msie=true;
function enlarge(image)
   {
   if(msie){alert('Enlarge Image only works after the store has been uploaded to your website. See instructions on how to do this');return;}
   win2=window.open('','win2','width=500,height=500,location=no,menubar=no,scrollbars=yes,resizable=yes');
   win2.focus();
   win2.document.open();
   win2.document.writeln('<HTML>');
   win2.document.writeln('<HEAD>');
   win2.document.writeln('<meta http-equiv="imagetoolbar" content="no">');
   win2.document.writeln('<TITLE>Shopping Cart</TITLE>');
   win2.document.writeln('</HEAD>');
   win2.document.write('<');
   win2.document.writeln('BODY topmargin="0" leftmargin="0">');
   win2.document.write('<p align="center"><img onclick="self.close();" title="Click to close window" onload = "if(popup.height<500)resizeTo(popup.width+28,popup.height+32);" name="popup" src="');
   win2.document.write(image);
   win2.document.writeln('"></p>');
   win2.document.writeln('</BODY>');
   win2.document.writeln('</HTML>');
   win2.document.close();
   }
function info(text,i,p,w,id)
   {
   if(msie){alert('Info only works after the store has been uploaded to your website. See instructions on how to do this');return;}
   win2=open('','win2','width=300,height=200,location=no,menubar=no,scrollbars=yes,resizable=yes');
   win2.focus();
   win2.document.open();
   win2.document.writeln('<HTML>');
   win2.document.writeln('<HEAD>');
   win2.document.writeln('<TITLE>Shopping Cart</TITLE>');
   win2.document.writeln('</HEAD>');
   win2.document.write('<');
   win2.document.writeln('BODY topmargin="0" leftmargin="0" onload="javascript:this.focus()">')
   win2.document.writeln('<font face="Arial" size="2">');
   win2.document.write(text);
   win2.document.writeln('<p><button style="font-size:10;background-color:#0000FF;color:#FFFFFF;"onclick="self.close();">Close</button></p>');
   win2.document.writeln('</font>');
   win2.document.writeln('</BODY>');
   win2.document.writeln('</HTML>');
   win2.document.close();
   }
 function round(number){
return Math.round(number*Math.pow(10,2))/Math.pow(10,2);}
function scan(cc_number)
{
if(cc_number==null)cc_number = "";
testc=0;
new_ccnumber="";
cclen = cc_number.length;
if((cc_number.indexOf("$") != -1) || (cc_number.indexOf("£") != -1) || (cc_number.indexOf("\u20ac") != -1))
{
startc = cc_number.indexOf("$")+1;
if(startc==0)startc = cc_number.indexOf("£")+1;
if(startc==0)startc = cc_number.indexOf("\u20ac")+1;
for(n=startc;n<cclen;n++)
   {
   tc = cc_number.substring(n,n+1);
   if(tc == "0" || tc == "1" || tc == "2" ||tc == "3" || tc == "4" ||tc == "5" || tc == "6"  || tc == "7" || tc == "8" || tc == "9" || tc == "." )
   new_ccnumber = new_ccnumber + tc;
   else
   n = cclen;
   }
}
if(new_ccnumber == "")new_ccnumber=0;
if((cc_number.indexOf("-$") != -1) || (cc_number.indexOf("-£") != -1) || (cc_number.indexOf("-\u20ac") != -1))
{
return -new_ccnumber;
}
return new_ccnumber;
}
// -->