var g_p = new Array(); var Discount=1; var cframeWay="choose"; var toCart=document.toCart; $("nokucun").style.display="block"; var rlImgWH=true,cutFrame=true,imgWcHV=100; //alert(imgWcHV); var ff_img_h=0; toCart.fid.value="4";//mo ren wai kuang $("width").parentNode.innerHTML="   "+$("width").parentNode.innerHTML; if (imgWcHV<99){//if (imgWcHV<100){ $("width").options[14].selected=true; $("height").options[8].selected=true; }else if (imgWcHV<=101){//imgWcHV<=100 $("width").options[12].selected=true; $("height").options[12].selected=true; }else{ $("width").options[8].selected=true; $("height").options[14].selected=true; } $("width").onchange=function(){calculatePrice('w');}; $("height").onchange=function(){calculatePrice('h');}; $("width").parentNode.style.textAlign="left"; //$("width").parentNode.parentNode.parentNode.style.paddingLeft="0"; $("width").parentNode.parentNode.parentNode.parentNode.parentNode.style.paddingLeft="0px"; var wv=toCart.width.value,hv=toCart.height.value; var wGD='w'; if(wv0.03)wGD='h'; } rpprice(1,wGD); function clImgAreadivH(){ try{ var imgaheight=$("lImgArea").height+2; ff_img_h=imgaheight-2; $("lImgAreadiv").height=imgaheight;$("imgout1").style.height=(imgaheight+10)+"px"; $("imgout2").style.height=(imgaheight+6)+"px";$("imgout3").style.height=(imgaheight+2)+"px"; }catch(e){} if(!rlImgWH){ imgWcHV=100*($("lImgArea").height/$("lImgArea").width); if (imgWcHV<99){//if (imgWcHV<100){ $("width").options[14].selected=true; $("height").options[8].selected=true; }else if (imgWcHV<=101){//imgWcHV<=100 $("width").options[12].selected=true; $("height").options[12].selected=true; }else{ $("width").options[8].selected=true; $("height").options[14].selected=true; } wv=toCart.width.value;hv=toCart.height.value;wGD='w'; if(wv0.03)wGD='h'; } rpprice(1,wGD); } } try{ var fieldsetObj=document.getElementsByTagName('fieldset').item(0); fieldsetObj.parentNode.style.height='100px'; fieldsetObj.style.height='90px'; fieldsetObj.innerHTML=fieldsetObj.innerHTML.replace(/   This/,"   Beautiful, original hand-painted artwork in your home. Paintings based on the masters'
works of "+userdata.artist+".
   This"); }catch(e){} function rpprice(a,t){ toCart.pzid.value=a-1; var sizeW=toCart.width.value; var sizeH=toCart.height.value; var qty=toCart.qty.value; var fqty=toCart.fqty.value; var method=toCart.pzid.value; if(method==1){ toCart.ir2.checked=false; }else if(method==2) { toCart.ir1.checked=false; try{toCart.ir12.checked=false;}catch(e){} } if(toCart.isMIP.checked){ if(t=='w'){ sizeH=Math.round(sizeW*imgWcHV/100); if(sizeH>102){sizeH=102;}else if(sizeH<16){sizeH=16;} $("height").options[sizeH-16].selected=true; }else{ sizeW=Math.round(sizeH*100/imgWcHV); if(sizeW>102){sizeW=102;}else if(sizeW<16){sizeW=16;} $("width").options[sizeW-16].selected=true;} }; if(method!=0&&(sizeW>43||sizeH>43||(sizeW>28&&sizeH>28))){ this.aStr="Stretcher"; if(method==2)this.aStr="Frame"; alert("Sorry, Painting With "+this.aStr+" is 28x43inch maximum, \nPlease select an allowable size.\nbut Oil Painting Unstretched is 102x102inch maximum. "); //$("ir1").src="/images2/details_radio_on.gif"; //$("ir2").src="/images2/details_radio_off.gif"; $("ir1").checked=false; $("ir2").checked=false; $("ir12").checked=false;/// toCart.pzid.value=0;method=0; //return; } getprice("showtprice",sizeW,sizeH,qty,fqty,method,Discount); } function calculatePrice(t){ rpprice(parseInt(toCart.pzid.value)+1,t); } function rpsize(a,b,c){ CHKKucun(a); for(var i=0;i<=b;i++){ if(i==a){ $("is"+i).src="/images2/details_radio_on.gif"; $("is"+i).style.cursor=""; }else{ $("is"+i).src="/images2/details_radio_off.gif"; $("is"+i).style.cursor="pointer";} } toCart.sizeid.value=c; var pdd=1+parseInt(toCart.pzid.value); $("zjg").innerHTML="US$"+g_p[a][pdd]; $("zjg1").innerHTML="US$"+g_p[a][pdd]; //$("delp").innerHTML="US$"+parseInt(g_p[a][pdd]*100/0.3)/100; $("delp").innerHTML="US$"+parseInt(g_p[a][pdd]*100*2)/100; if(g_p[a][4]!=null){ $("zuhehuatxt").innerHTML="parts: "+g_p[a][4]+"size of parts: "+g_p[a][5]; if(toCart.pzid.value==1&&g_p[a][6]!=null){ alert("Sorry, Please select a smaller stretcher, or just painting on canvas.\nIt is not suitable for delivering a huge painting stretched. "); toCart.pzid.value=0;rpprice(1); } } } function CHKKucun(a){ $("nokucun").style.display="block"; return; /* if (g_p[a][3]<=0) { $("hakucun").style.display="none"; $("nokucun").style.display="block"; }else{ $("nokucun").style.display="none"; $("hakucun").style.display="block"; } */ } $("lastComment").innerHTML="
 Latest Testimonials:   Parcel arrived safely and as promised. Thanks.
querelle - 2009-11-21 23:44:16  Read more Or See Quality
A list of countries we deliver. In 3 - 5days to your hand.
  Ordering one painting,shipping fee is $15.00; ordering over one pc,shipping fee is 0.
"; function closexx(){ $("helpArea").style.display="none"; } function cc1(tt1,fs) { var daps = $("helpArea").style; var ttop = tt1.offsetTop; var tleft = tt1.offsetLeft; var xxnr = $("xxnr"); if (fs=="b") { if(xxnr.name=="b"&&$("helpArea").style.display=="block"){$("helpArea").style.display="none";return;} xxnr.name="b"; xxnr.innerHTML = '

Check above checkbox if you like to receive you painting ready to hang !!!

Just open your parcel and hang it up :-) Of course we will make sure the sides are painted.
This standard framework set is made of solid 2 cm (0.79") stretcher bars on which the canvas will be streched. Ideal for office or home paintings.

Please be aware that without a framework set or frame you will receive your painting rolled up and not ready to hang.
1/1
'; gimg(); }else{ if(xxnr.name=="a"&&$("helpArea").style.display=="block"){$("helpArea").style.display="none";return;} xxnr.name="a"; xxnr.innerHTML = '

Oil Painting Framed

You will receive your painting framed and full ready to hang !!!

We highly recommend you to choose our Oil Painting Framed service. This is a tradditional frame, packed in carton box.

Please be aware that without a framework set or frame you will receive your painting rolled up and not ready to hang.
'; } while (tt1 = tt1.offsetParent){ttop+=tt1.offsetTop; tleft+=tt1.offsetLeft;} daps.top = (ttop-20)+"px"; daps.left = 212+"px"; daps.display = "block"; } function gimg(fs) { var imageSrc=['/images2/h_krosno1.jpg','/images2/h_krosno2.jpg','/images2/h_krosno3.jpg','/images2/h_krosno4.jpg','/images2/h_krosno5.jpg']; var HelpImage=$("HelpImage"),ImageHelpPrev=$("ImageHelpPrev"),ImageHelpNext=$("ImageHelpNext"),ImageHelpCount=$("ImageHelpCount"),HelpImage=$("HelpImage"); var imglen=imageSrc.length,thisVal=parseInt(HelpImage.value) || 0; fs=fs || null; ImageHelpPrev.innerHTML=''; ImageHelpNext.innerHTML=''; if (fs==null){HelpImage.src=imageSrc[0];ImageHelpCount.innerHTML="1/"+imglen;ImageHelpPrev.innerHTML="";return;} fs=="Next"?++thisVal:--thisVal; if (thisVal<=1) { thisVal=1;ImageHelpPrev.innerHTML=""; }else if (thisVal>=imglen) { thisVal=imglen;ImageHelpNext.innerHTML=""; } HelpImage.value=thisVal; HelpImage.src=imageSrc[thisVal-1]; ImageHelpCount.innerHTML=thisVal+"/"+imglen; } function MaintainDes(tt1){ var thisObj=$("Maintain"); var daps = thisObj.style; var ttop = tt1.offsetTop; while (tt1 = tt1.offsetParent){ttop+=tt1.offsetTop; } daps.top = (ttop-65)+"px"; daps.left = 320+"px"; daps.color = "#aaaaaa"; daps.styleFloat = "left"; daps.textAlign = "left"; thisObj.innerHTML="Use these drop-down menus to create a custom size for your painting. If you wish to maintain the original painting's width and height ratio, check the \"Maintain ratio\" box." daps.display = "block"; } function chooseFrame(tway) { cframeWay=tway; if(cframeWay=="choose"&&$("frameId").innerHTML!=""){rpprice(3);return;} var ShadowFrameConfigurator=$("ShadowFrameConfigurator"); ShadowFrameConfigurator.src="/frames.asp?20091026"; ShadowFrameConfigurator.style.display="block"; $("divAll").style.display="none"; } function saveChoose() { var ShadowFrameConfigurator=$("ShadowFrameConfigurator"); $("divAll").style.display=""; ShadowFrameConfigurator.style.display="none"; ShadowFrameConfigurator.src=""; toCart.ir2.checked=true; rpprice(3); } function cancel() { var ShadowFrameConfigurator=$("ShadowFrameConfigurator"); $("divAll").style.display=""; ShadowFrameConfigurator.style.display="none"; ShadowFrameConfigurator.src=""; if (cframeWay=="choose")toCart.ir2.checked=false; }