function checkopts()	{	var opt= document.easypayform.opts.value;	if(opt!='')		{		var optsplit = opt.split("~");				document.easypayform.a3.value = optsplit[1];		document.easypayform.a1.value = optsplit[2];		document.easypayform.srt.value = optsplit[3];				document.easypayform.item_name.value = document.easypayform.item_name.value + ' [1st payment:$' + optsplit[2] + ' then ' + optsplit[3] + ' payments of $' + optsplit[1] + ']';				document.easypayform.submit();		}	else		{		alert('Please select your payment option from the menu.');		}	}function CHK() {	alert ("There is some information needed before you can check-out.")}function RMC(code,item) {	if(confirm ("Do you want to remove this item from your cart?"))		{window.location='remove_from_cart_'+code+'_'+item+'.html';}}function CRMC(code,item) {	if(confirm ("Do you want to remove this item from your cart?"))		{window.location='cartremove_from_cart_'+code+'_'+item+'.html';}}function MakeBanner(src,w,h) {// -----------------------------------------------------------------------------// Globals// Major version of Flash required	var requiredMajorVersion = 8;// Minor version of Flash required	var requiredMinorVersion = 0;// Minor version of Flash required	var requiredRevision = 0;// -----------------------------------------------------------------------------// Version check based upon the values entered above in "Globals"	var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);// Check to see if the version meets the requirements for playback	if (hasReqestedVersion) {	// if we've detected an acceptable version	// embed the Flash Content SWF when all tests are passed// JW 2008	var qry = src.split('?');	var fn = qry[0].split('.swf');			AC_FL_RunContent(					"src", fn[0],					"flashVars", qry[1],					"width", w,					"height", h,					"align", "middle",					"id", "flash_final",					"quality", "high",					"bgcolor", "#FFFFFF",					"name", "flash_final",					"allowScriptAccess","sameDomain",					"type", "application/x-shockwave-flash",					'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',					"pluginspage", "http://www.adobe.com/go/getflashplayer"		);	} else {  // flash is too old or we can't detect the plugin		var alternateContent = '<IMG SRC="grcs/non_flash_header.jpg" WIDTH="780" HEIGHT="130"  usemap="#flash_final" border=0>';		document.write(alternateContent);  // insert non-flash content	}}function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {  d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;}function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)  if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function popup(url,x,y,ttl)	{n=open(url,ttl,'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+x+',height='+y);}function prod_popup(url)	{n=open('prod_detail_'+url+'.html','Product Detail','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=520,height=650');}function changeclass(id, newClass)	{identity=document.getElementById(id);identity.className=newClass;}function changetext(i,t)	{document.getElementById(i).innerHTML = t;}
