function sendmail(){document.catForm.submit();} function change_div(a,p){var divid='s'+p+a;divid=eval(divid);divid.style.display="";} function change_gf(a,p){var divid='atc'+p+a;divid=eval(divid);divid.style.display="";} function change_atc(m,p){var divid='gf'+p+m;divid=eval(divid);divid.style.display="";var chkFO='document.form_gf'+p+m+'.obj'+p+m+'.value';if(eval(chkFO)!=''){var temp='r_wrap'+p+m;var radioval=document.getElementById(temp).value;var imgSubmit='image'+p+m;if(radioval=='y'){document.getElementById(imgSubmit).style.cursor="hand";document.getElementById(imgSubmit).src="images/box_05.jpg";document.getElementById(imgSubmit).disabled='';} else if(radioval=='n'){document.getElementById(imgSubmit).style.cursor="default";document.getElementById(imgSubmit).src="images/box_05_fade.jpg";document.getElementById(imgSubmit).disabled='disabled';} } else{var mfoption=document.getElementById('mdfp'+p+m).value;var imgSubmit='image'+p+m;if(mfoption=='y'){document.getElementById(imgSubmit).style.cursor="hand";document.getElementById(imgSubmit).src="images/box_05.jpg";document.getElementById(imgSubmit).disabled='';} else{document.getElementById(imgSubmit).style.cursor="default";document.getElementById(imgSubmit).src="images/box_05_fade.jpg";document.getElementById(imgSubmit).disabled='disabled';} } } function change_div1(a,c){var divid='p'+c+a;divid=eval(divid);divid.style.display="";} function hide_size(p,temp){var msize=temp.split(',');for(counter=0;counter < msize.length;counter++){var tabid='s'+p+msize[counter];tabid=eval(tabid);tabid.style.display="none";} } function hide_atc(p,temp){var msize=temp.split(',');for(var counter=0;counter < msize.length;counter++){var tabid='atc'+p+msize[counter];tabid=eval(tabid);tabid.style.display="none";} } function hide_gf(p,temp){var msize=temp.split(',');for(counter=0;counter < msize.length;counter++){var tabid='gf'+p+msize[counter];tabid=eval(tabid);tabid.style.display="none";} } function hide_price(p,temp){var msize=temp.split(',');for(counter=0;counter < msize.length;counter++){var tabid='p'+p+msize[counter];tabid=eval(tabid);tabid.style.display="none";} } function modify_price(a,b,c,d){var stPdid="document.form_medium"+c+"."+a+".value";hide_price(c,d);change_div1(eval(stPdid),c);var cc='pdidx'+c+b;document.getElementById(cc).value=eval(stPdid);var cc1='pdid'+c+b;document.getElementById(cc1).value=eval(stPdid);} function modify_field(a,b,c){var cc='pdidx'+c+b;document.getElementById(cc).value=a;var ccc='pdid'+c+b;document.getElementById(ccc).value=a;} function active_frame(pid,id,pfo,mfo,wfo,wpid){var imgSubmit='image'+pid+id;var hdnwrap='wpid'+pid+id;var hdnwrap1='wpid1'+pid+id;if(pfo=='y'){if(mfo=='y'){if(wfo=='y'){document.getElementById(imgSubmit).style.cursor="hand";document.getElementById(imgSubmit).src="images/box_05.jpg";document.getElementById(imgSubmit).disabled='';} else{document.getElementById(imgSubmit).style.cursor="default";document.getElementById(imgSubmit).src="images/box_05_fade.jpg";document.getElementById(imgSubmit).disabled='disabled';} } else{document.getElementById(imgSubmit).style.cursor="default";document.getElementById(imgSubmit).src="images/box_05_fade.jpg";document.getElementById(imgSubmit).disabled='disabled';} } else{document.getElementById(imgSubmit).style.cursor="default";document.getElementById(imgSubmit).src="images/box_05_fade.jpg";document.getElementById(imgSubmit).disabled='disabled';} document.getElementById(hdnwrap).value=wpid;document.getElementById(hdnwrap1).value=wpid;} function hide_wrap(pid,a,b){var wrap=b.split(',');for(counter=0;counter < wrap.length;counter++){var tabid='w'+pid+wrap[counter];tabid=eval(tabid);tabid.style.display="none";} var tabid='w'+pid+a;tabid=eval(tabid);tabid.style.display="";}