function ajaxFunction(){var xmlHttp;try{xmlHttp=new XMLHttpRequest();}
catch(e){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){alert("Your browser does not support AJAX!");return false;}}}
xmlHttp.onreadystatechange=function(){if((xmlHttp.readyState==4)){ourarray=new Array();ourarray=xmlHttp.responseText.split("|!|");x=document.getElementById("step2")
x.length=0;addOption=new Option("Select Your Printer Type","Select Your Printer Type");x.options[(x.length)]=addOption;for(i=1;i<ourarray.length;i+=2){addOption=new Option(ourarray[(i+1)],ourarray[(i)]);x.options[(x.length)]=addOption;}
x=document.getElementById("step3")
x.length=0;addOption=new Option("Select Your Printer Model","Select Your Printer Model");x.options[(x.length)]=addOption;}}
var selectBox=document.forms['wizard'].step1;sminute=selectBox.options[selectBox.selectedIndex].value;if(sminute!="Select Your Printer Manufacturer"){params="parent="+sminute;xmlHttp.open("GET","retrieve.php?"+params,true);xmlHttp.send(params);}}
function ajaxFunction2(){var xmlHttp;try{xmlHttp=new XMLHttpRequest();}
catch(e){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){alert("Your browser does not support AJAX!");return false;}}}
xmlHttp.onreadystatechange=function(){if((xmlHttp.readyState==4)){ourarray=new Array();ourarray=xmlHttp.responseText.split("|!|");x=document.getElementById("step3")
x.length=0;y=0;addOption=new Option("Select Your Printer Model","Select Your Printer Model");x.options[(x.length)]=addOption;for(i=1;i<ourarray.length;i+=2){addOption=new Option(ourarray[(i+1)],ourarray[(i)]);x.options[(x.length)]=addOption;y++;}
if(y==0){x=document.getElementById("step3");x.style.display="none";x.style.visbility="hidden";}else{x.style.display="inline";x.style.visbility="visible";}}}
var selectBox=document.forms['wizard'].step2;sminute=selectBox.options[selectBox.selectedIndex].value;if((sminute!="Select Your Printer Type")&&(sminute!="")){params="parent="+sminute;xmlHttp.open("GET","retrieve.php?"+params,true);xmlHttp.send(params);}}
function doOpaque(inopacity){mozopac=inopacity/100;x=document.getElementById("shopping_cart_cloud");x.style.filter="alpha(opacity="+inopacity+")";x.style.opacity=mozopac;}
function inputupdate(ourid,checkval){var txt=eval("document.forms['search']."+ourid+".value");if(txt==checkval){eval("document.forms['search']."+ourid+".value = \"\"");}}
function li_hover(inid,col){x=document.getElementById(inid);x.style.backgroundColor=col;}