if(document.images){var btn_size_on=new Image;btn_size_on.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_size_on.gif';var btn_size_off=new Image;btn_size_off.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_size_off.gif';var btn_size_in=new Image;btn_size_in.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_size_in.gif';var btn_media_on=new Image;btn_media_on.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_media_on.gif';var btn_media_off=new Image;btn_media_off.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_media_off.gif';var btn_media_in=new Image;btn_media_in.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_media_in.gif';var btn_framing_on=new Image;btn_framing_on.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_framing_on.gif';var btn_framing_off=new Image;btn_framing_off.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_framing_off.gif';var btn_framing_in=new Image;
btn_framing_in.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_framing_in.gif';var btn_matting_on=new Image;btn_matting_on.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_matting_on.gif';var btn_matting_off=new Image;btn_matting_off.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_matting_off.gif';var btn_matting_in=new Image;btn_matting_in.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_matting_in.gif';var btn_glazing_on=new Image;btn_glazing_on.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_glazing_on.gif';var btn_glazing_off=new Image;btn_glazing_off.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_glazing_off.gif';var btn_glazing_in=new Image;btn_glazing_in.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_glazing_in.gif';var btn_glazing_on=new Image;btn_glazing_on.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_glazing_on.gif';var btn_glazing_off=new Image;
btn_glazing_off.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_glazing_off.gif';var btn_glazing_in=new Image;btn_glazing_in.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/btn_glazing_in.gif';var toolbar_matting1=new Image;toolbar_matting1.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/mat1.gif';var toolbar_matting2=new Image;toolbar_matting2.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/mat2.gif';var toolbar_matting3=new Image;toolbar_matting3.src=strGraphicsProductsDirUrl+'product/add_to_cart/228/mat3.gif';}function openViewRealWindow(){if(document.frmParms.moulding.value!=''){view_real_url=strPopupDirUrl+'real_view_228.asp'+'?'+buildPrintRealViewUrl(500);}else{view_real_url=strPopupDirUrl+'real_view_228.asp'+'?'+strPrintImageSrc.replace('sz500','sz500');}
view_real_window=window.open(view_real_url,'view_real_window','top='+((screen.availHeight-693)/2)+',left='+((screen.availWidth-650)/2)+'+,resizable=yes,status=no,scrollbars=no,location=no,toolbar=no,directories=no,menubar=no,width=650,innerWidth=650,height=693,innerHeight=693');view_real_window.focus();}function reloadFrame(strFrame){var dblFrameWidth=(parseFloat(document.frmParms.print_width.value)*parseFloat(document.frmParms.framecrop_width.value))+parseFloat(document.frmParms.mat1_left.value)+parseFloat(document.frmParms.mat1_right.value);var dblFrameHeight=(parseFloat(document.frmParms.print_height.value)*parseFloat(document.frmParms.framecrop_height.value))+parseFloat(document.frmParms.mat1_top.value)+parseFloat(document.frmParms.mat1_bottom.value);var strLocation;if(strFrame=='size'){strLocation=strFrameUrl+'size.asp';strLocation=strLocation+'?product_id='+zidProductId;strLocation=strLocation+'&p_markup='+decMarkup;strLocation=strLocation+'&max_width='+intMaxWidth;
strLocation=strLocation+'&max_height='+intMaxHeight;strLocation=strLocation+'&frame_width='+dblFrameWidth;strLocation=strLocation+'&frame_height='+dblFrameHeight;strLocation=strLocation+'&size='+document.frmParms.size.value;document.getElementById('iframe_size').src=strLocation;}else if(strFrame=='media'){strLocation=strFrameUrl+'media.asp';strLocation=strLocation+'?product_id='+zidProductId;strLocation=strLocation+'&p_markup='+decMarkup;strLocation=strLocation+'&size='+document.frmParms.size.value;strLocation=strLocation+'&media='+document.frmParms.media.value;document.getElementById('iframe_media').src=strLocation;}else if(strFrame=='framing'){strLocation=strFrameUrl+'framing.asp';strLocation=strLocation+'?product_id='+zidProductId;strLocation=strLocation+'&cid='+cid;strLocation=strLocation+'&p_markup='+decMarkup;strLocation=strLocation+'&frame_width='+dblFrameWidth;strLocation=strLocation+'&frame_height='+dblFrameHeight;strLocation=strLocation+'&framing_parent='+document.frmParms.framing_parent.value;
strLocation=strLocation+'&framing_ctgy='+document.frmParms.framing_ctgy.value;strLocation=strLocation+'&moulding='+document.frmParms.moulding.value;document.getElementById('iframe_framing').src=strLocation;}else if(strFrame=='matting'){if((document.frmParms.matting_num.value==2)&&(document.frmParms.mat1.value=='')){strLocation=strFrameUrl+'matting.asp';strLocation=strLocation+'?matting_num=2';strLocation=strLocation+'&stop=true';document.getElementById('iframe_matting').src=strLocation;}else if((document.frmParms.matting_num.value==3)&&((document.frmParms.mat2.value=='')||(document.frmParms.mat1.value==''))){strLocation=strFrameUrl+'matting.asp';strLocation=strLocation+'?matting_num=3';strLocation=strLocation+'&stop=true';document.getElementById('iframe_matting').src=strLocation;}else{strLocation=strFrameUrl+'matting.asp';strLocation=strLocation+'?product_id='+zidProductId;strLocation=strLocation+'&p_markup='+decMarkup;strLocation=strLocation+'&print_width='+document.frmParms.print_width.value;
strLocation=strLocation+'&print_height='+document.frmParms.print_height.value;strLocation=strLocation+'&frame_width='+dblFrameWidth;strLocation=strLocation+'&frame_height='+dblFrameHeight;strLocation=strLocation+'&matting_num='+document.frmParms.matting_num.value;strLocation=strLocation+'&mat_parent='+eval('document.frmParms.mat'+document.frmParms.matting_num.value+'_parent.value');strLocation=strLocation+'&mat_ctgy='+eval('document.frmParms.mat'+document.frmParms.matting_num.value+'_ctgy.value');strLocation=strLocation+'&mat_ctgy_in='+eval('document.frmParms.mat'+document.frmParms.matting_num.value+'_ctgy_in.value');strLocation=strLocation+'&mat='+eval('document.frmParms.mat'+document.frmParms.matting_num.value+'.value');strLocation=strLocation+'&mat1_top='+document.frmParms.mat1_top.value;strLocation=strLocation+'&mat1_right='+document.frmParms.mat1_right.value;strLocation=strLocation+'&mat1_bottom='+document.frmParms.mat1_bottom.value;strLocation=strLocation+'&mat1_left='+document.frmParms.mat1_left.value;
strLocation=strLocation+'&mat2_width='+document.frmParms.mat2_width.value;document.getElementById('iframe_matting').src=strLocation;}}else if(strFrame=='glazing'){strLocation=strFrameUrl+'glazing.asp';strLocation=strLocation+'?product_id='+zidProductId;strLocation=strLocation+'&p_markup='+decMarkup;strLocation=strLocation+'&frame_width='+dblFrameWidth;strLocation=strLocation+'&frame_height='+dblFrameHeight;strLocation=strLocation+'&media='+document.frmParms.media.value;strLocation=strLocation+'&glazing='+document.frmParms.glazing.value;document.getElementById('iframe_glazing').src=strLocation;}document.frmParms[strFrame+'_update'].value='false';}function buildPrintRealViewUrl(intMaxDim){var strSrc;strSrc=strRealViewUrl;strSrc=strSrc+'?pid='+zidProductId;strSrc=strSrc+'&action=realview';if(blnIsPrivate){strSrc=strSrc+'&is_private=true';}strSrc=strSrc+'&size='+document.frmParms.size.value;strSrc=strSrc+'&media='+document.frmParms.media.value;strSrc=strSrc+'&moulding='+document.frmParms.moulding.value;
strSrc=strSrc+'&framecrop_x='+document.frmParms.framecrop_x.value;strSrc=strSrc+'&framecrop_y='+document.frmParms.framecrop_y.value;strSrc=strSrc+'&framecrop_width='+document.frmParms.framecrop_width.value;strSrc=strSrc+'&framecrop_height='+document.frmParms.framecrop_height.value;strSrc=strSrc+'&mat1='+document.frmParms.mat1.value;strSrc=strSrc+'&mat1_top='+document.frmParms.mat1_top.value;strSrc=strSrc+'&mat1_right='+document.frmParms.mat1_right.value;strSrc=strSrc+'&mat1_bottom='+document.frmParms.mat1_bottom.value;strSrc=strSrc+'&mat1_left='+document.frmParms.mat1_left.value;strSrc=strSrc+'&mat2='+document.frmParms.mat2.value;strSrc=strSrc+'&mat2_width='+document.frmParms.mat2_width.value;strSrc=strSrc+'&mat3='+document.frmParms.mat3.value;strSrc=strSrc+'&mat3_width='+document.frmParms.mat3_width.value;strSrc=strSrc+'&glazing='+document.frmParms.glazing.value;strSrc=strSrc+'&max_dim='+intMaxDim;strSrc=strSrc+'&constraint=product';return strSrc;}function updatePrintRealView(){zPage.updateUi();
zPage.children.productAttributes.updateUiPriceDisplay();}function updateProductDimensions(){var dblTotalFrameWidth=(parseFloat(document.frmParms.print_width.value)*parseFloat(document.frmParms.framecrop_width.value))+parseFloat(document.frmParms.mat1_left.value)+parseFloat(document.frmParms.mat1_right.value)+(parseFloat(document.frmParms.moulding_width.value)*2);var dblTotalFrameHeight=(parseFloat(document.frmParms.print_height.value)*parseFloat(document.frmParms.framecrop_height.value))+parseFloat(document.frmParms.mat1_top.value)+parseFloat(document.frmParms.mat1_bottom.value)+(parseFloat(document.frmParms.moulding_width.value)*2);document.getElementById("dims").innerHTML=Math.round(dblTotalFrameWidth*10)/10+'"'+' x '+Math.round(dblTotalFrameHeight*10)/10+'"';}function checkSize(dblPrintWidth,dblPrintHeight,dblFramecropWidth,dblFramecropHeight,dblMat1Top,dblMat1Left,dblMat1Right,dblMat1Bottom){var dblSmDim;var dblLgDim;
var dblFrameWidth=(parseFloat(dblPrintWidth)*parseFloat(dblFramecropWidth))+parseFloat(dblMat1Left)+parseFloat(dblMat1Right);var dblFrameHeight=(parseFloat(dblPrintHeight)*parseFloat(dblFramecropHeight))+parseFloat(dblMat1Top)+parseFloat(dblMat1Bottom);if(dblFrameWidth>dblFrameHeight){dblSmDim=dblFrameHeight;dblLgDim=dblFrameWidth;}else{dblSmDim=dblFrameWidth;dblLgDim=dblFrameHeight;}if(document.frmParms.moulding.value!=''){var arFramingConstraints;arFramingConstraints=document.frmParms.framing_constraints.value.split(',');if((dblSmDim<parseFloat(arFramingConstraints[1]))||(dblLgDim<parseFloat(arFramingConstraints[0]))){alert('This size is too small for the frame moulding you have selected.');return false;}else if((dblLgDim>parseFloat(arFramingConstraints[2]))||(dblSmDim>parseFloat(arFramingConstraints[3]))){alert('This size is too big for the frame moulding you have selected.');return false;}var arMattingConstraints;arMattingConstraints=document.frmParms.matting_constraints.value.split(',');
for(var i=0;i<3;i++){if(eval('document.frmParms.mat'+(parseInt(i)+1)+'.value')!=''){if((dblSmDim<parseFloat(arMattingConstraints[(i*4)+1]))||(dblLgDim<parseFloat(arMattingConstraints[(i*4)]))){alert('This size is too small for the *MAT '+(parseInt(i)+1)+'* you have selected.');return false;}else if((dblLgDim>parseFloat(arMattingConstraints[(i*4)+2]))||(dblSmDim>parseFloat(arMattingConstraints[(i*4)+3]))){alert('This size is too big for the *MAT '+(parseInt(i)+1)+'* you have selected.');return false;}}}var arGlazingConstraints;arGlazingConstraints=document.frmParms.glazing_constraints.value.split(',');if(document.frmParms.glazing.value!='no_glazing'){if((dblSmDim<parseFloat(arGlazingConstraints[1]))||(dblLgDim<parseFloat(arGlazingConstraints[0]))){alert('This size is too small for the glazing you have selected.');return false;}else if((dblLgDim>parseFloat(arGlazingConstraints[2]))||(dblSmDim>parseFloat(arGlazingConstraints[3]))){alert('This size is too big for the glazing you have selected.');return false;}}
return true;}else{return true;}}function openCropWindow(){var crop_url;var dblFrameWidth=(parseFloat(document.frmParms.print_width.value)*parseFloat(document.frmParms.framecrop_width.value))+parseFloat(document.frmParms.mat1_left.value)+parseFloat(document.frmParms.mat1_right.value);var dblFrameHeight=(parseFloat(document.frmParms.print_height.value)*parseFloat(document.frmParms.framecrop_height.value))+parseFloat(document.frmParms.mat1_top.value)+parseFloat(document.frmParms.mat1_bottom.value);crop_url=crop_url_base;crop_url=crop_url+'?product_id='+zidProductId;crop_url=crop_url+'&p_markup='+decMarkup;crop_url=crop_url+'&frame_width='+dblFrameWidth;crop_url=crop_url+'&frame_height='+dblFrameHeight;crop_url=crop_url+'&moulding='+document.frmParms.moulding.value;crop_url=crop_url+'&framecrop_x='+document.frmParms.framecrop_x.value;crop_url=crop_url+'&framecrop_y='+document.frmParms.framecrop_y.value;crop_url=crop_url+'&framecrop_width='+document.frmParms.framecrop_width.value;
crop_url=crop_url+'&framecrop_height='+document.frmParms.framecrop_height.value;if(blnIsPrivate==true){crop_url=crop_url+'&private=true';}crop_window=window.open(crop_url,'crop_window','top='+((screen.availHeight-600)/2)+',left='+((screen.availWidth-800)/2)+'+,resizable=yes,status=no,scrollbars=no,location=no,toolbar=no,directories=no,menubar=no,width=800,innerWidth=800,height=600,innerHeight=600');crop_window.focus();}function cropPrint(dblFramecropX,dblFramecropY,dblFramecropWidth,dblFramecropHeight){if(checkSize(document.frmParms.print_width.value,document.frmParms.print_height.value,dblFramecropWidth,dblFramecropHeight,document.frmParms.mat1_top.value,document.frmParms.mat1_left.value,document.frmParms.mat1_right.value,document.frmParms.mat1_bottom.value)){document.frmParms.framecrop_x.value=dblFramecropX;document.frmParms.framecrop_y.value=dblFramecropY;document.frmParms.framecrop_width.value=dblFramecropWidth;document.frmParms.framecrop_height.value=dblFramecropHeight;updatePrintRealView();
reloadFrame('framing');document.frmParms.matting_update.value='true';document.frmParms.glazing_update.value='true';}}function openMatWidthsWindow(){var mat_widths_url;var dblFrameWidth=(parseFloat(document.frmParms.print_width.value)*parseFloat(document.frmParms.framecrop_width.value))+parseFloat(document.frmParms.mat1_left.value)+parseFloat(document.frmParms.mat1_right.value);var dblFrameHeight=(parseFloat(document.frmParms.print_height.value)*parseFloat(document.frmParms.framecrop_height.value))+parseFloat(document.frmParms.mat1_top.value)+parseFloat(document.frmParms.mat1_bottom.value);mat_widths_url=mat_widths_url_base;mat_widths_url=mat_widths_url+'?product_id='+zidProductId;mat_widths_url=mat_widths_url+'&p_markup='+decMarkup;mat_widths_url=mat_widths_url+'&print_width='+document.frmParms.print_width.value;mat_widths_url=mat_widths_url+'&print_height='+document.frmParms.print_height.value;mat_widths_url=mat_widths_url+'&frame_width='+dblFrameWidth;
mat_widths_url=mat_widths_url+'&frame_height='+dblFrameHeight;mat_widths_url=mat_widths_url+'&mat1='+document.frmParms.mat1.value;mat_widths_url=mat_widths_url+'&mat1_top='+document.frmParms.mat1_top.value;mat_widths_url=mat_widths_url+'&mat1_right='+document.frmParms.mat1_right.value;mat_widths_url=mat_widths_url+'&mat1_bottom='+document.frmParms.mat1_bottom.value;mat_widths_url=mat_widths_url+'&mat1_left='+document.frmParms.mat1_left.value;mat_widths_url=mat_widths_url+'&mat2='+document.frmParms.mat2.value;mat_widths_url=mat_widths_url+'&mat2_width='+document.frmParms.mat2_width.value;mat_widths_url=mat_widths_url+'&mat3='+document.frmParms.mat3.value;mat_widths_url=mat_widths_url+'&mat3_width='+document.frmParms.mat3_width.value;if(blnIsPrivate){mat_widths_url=mat_widths_url+'&is_private=true';}
mat_widths_window=window.open(mat_widths_url,'mat_widths_window','top='+((screen.availHeight-550)/2)+',left='+((screen.availWidth-720)/2)+'+,resizable=yes,status=no,scrollbars=no,location=no,toolbar=no,directories=no,menubar=no,width=720,innerWidth=720,height=550,innerHeight=550');mat_widths_window.focus();}function clickNoFrame(){document.frmParms.framing_ctgy_in.value='';document.frmParms.moulding.value='';document.frmParms.moulding_width.value=0;document.frmParms.framecrop_x.value=0;document.frmParms.framecrop_y.value=0;document.frmParms.framecrop_width.value=1;document.frmParms.framecrop_height.value=1;document.frmParms.framing_constraints.value='0,0,0,0';document.frmParms.framing_update.value='true';document.frmParms.matting_num.value='1';document.frmParms.matting_constraints.value='0,0,0,0,0,0,0,0,0,0,0,0';document.frmParms.matting_update.value='true';document.frmParms.mat1_parent.value='Paper';document.frmParms.mat1_ctgy.value='White';document.frmParms.mat1_ctgy_in.value='';
document.frmParms.mat1.value='';document.frmParms.mat1_top.value=0;document.frmParms.mat1_right.value=0;document.frmParms.mat1_bottom.value=0;document.frmParms.mat1_left.value=0;document.frmParms.mat2_parent.value='Paper';document.frmParms.mat2_ctgy.value='White';document.frmParms.mat2_ctgy_in.value='';document.frmParms.mat2.value='';document.frmParms.mat2_width.value=0;document.frmParms.mat3_parent.value='Paper';document.frmParms.mat3_ctgy.value='White';document.frmParms.mat3_ctgy_in.value='';document.frmParms.mat3.value='';document.frmParms.mat3_width.value=0;document.frmParms.glazing.value='';document.frmParms.glazing_constraints.value='0,0,78,52';document.frmParms.glazing_update.value='true';if(document.images){document.images.img_matting_text.src=strImgTextUrl+'matting'+'/'+'no_matting'+'.gif';document.images.toolbar_matting.src=toolbar_matting1.src;document.images.img_glazing_text.src=strImgTextUrl+'glazing'+'/'+'no_glazing'+'.gif';}}function clickPrintPreview(){
document.frmParms.size.value=strDefaultPrintSize;document.frmParms.print_width.value=0;document.frmParms.print_height.value=0;document.frmParms.size_update.value='true';if(strDefaultPrintSize=='portfolio'){document.frmParms.media.value='basic_cardstock_xry';}else{document.frmParms.media.value='basic_poster_dye';}document.frmParms.media_update.value='true';document.frmParms.framing_parent.value='Price';document.frmParms.framing_ctgy.value='$';document.frmParms.framing_ctgy_in.value='';document.frmParms.moulding.value='';document.frmParms.moulding_width.value=0;document.frmParms.framecrop_x.value=0;document.frmParms.framecrop_y.value=0;document.frmParms.framecrop_width.value=1;document.frmParms.framecrop_height.value=1;document.frmParms.framing_constraints.value='0,0,0,0';document.frmParms.framing_update.value='true';document.frmParms.matting_num.value='1';document.frmParms.matting_constraints.value='0,0,0,0,0,0,0,0,0,0,0,0';document.frmParms.matting_update.value='true';
document.frmParms.mat1_parent.value='Paper';document.frmParms.mat1_ctgy.value='White';document.frmParms.mat1_ctgy_in.value='';document.frmParms.mat1.value='';document.frmParms.mat1_top.value=0;document.frmParms.mat1_right.value=0;document.frmParms.mat1_bottom.value=0;document.frmParms.mat1_left.value=0;document.frmParms.mat2_parent.value='Paper';document.frmParms.mat2_ctgy.value='White';document.frmParms.mat2_ctgy_in.value='';document.frmParms.mat2.value='';document.frmParms.mat2_width.value=0;document.frmParms.mat3_parent.value='Paper';document.frmParms.mat3_ctgy.value='White';document.frmParms.mat3_ctgy_in.value='';document.frmParms.mat3.value='';document.frmParms.mat3_width.value=0;document.frmParms.glazing.value='';document.frmParms.glazing_constraints.value='0,0,78,52';document.frmParms.glazing_update.value='true';hideAll();showFrame('size',false,228);if(isVisible('div_matting')==true){makeInvisible('div_matting');makeInvisible('div_glazing');}updatePrintRealView();if(document.images){
if(strDefaultPrintSize=='portfolio'){document.images.img_size_text.src=strImgTextUrl+'size'+'/'+'portfolio'+'.gif';document.images.img_media_text.src=strImgTextUrl+'media'+'/'+'basic_cardstock_xry'+'.gif';}else{document.images.img_size_text.src=strImgTextUrl+'size'+'/'+'small'+'.gif';document.images.img_media_text.src=strImgTextUrl+'media'+'/'+'basic_poster_dye'+'.gif';}document.images.img_framing_text.src=strImgTextUrl+'framing'+'/'+'no_frame'+'.gif';document.images.img_matting_text.src=strImgTextUrl+'matting'+'/'+'no_matting'+'.gif';document.images.toolbar_matting.src=toolbar_matting1.src;document.images.img_glazing_text.src=strImgTextUrl+'glazing'+'/'+'no_glazing'+'.gif';}}function clickFramedPrintPreview(){if(document.frmParms.moulding.value==''){document.frmParms.size.value='portfolio';document.frmParms.print_width.value=0;document.frmParms.print_height.value=0;document.frmParms.size_update.value='true';document.frmParms.media.value='basic_cardstock_xry';document.frmParms.media_update.value='true';
document.frmParms.framing_parent.value='Price';document.frmParms.framing_ctgy.value='$';document.frmParms.framing_ctgy_in.value='$';document.frmParms.moulding.value='wood_aspect_black';document.frmParms.moulding_width.value=0.75;document.frmParms.framecrop_x.value=0;document.frmParms.framecrop_y.value=0;document.frmParms.framecrop_width.value=1;document.frmParms.framecrop_height.value=1;document.frmParms.framing_constraints.value='0,0,78,52';document.frmParms.framing_update.value='true';document.frmParms.matting_num.value='1';document.frmParms.matting_constraints.value='0,0,0,0,0,0,0,0,0,0,0,0';document.frmParms.matting_update.value='true';document.frmParms.mat1_parent.value='Paper';document.frmParms.mat1_ctgy.value='White';document.frmParms.mat1_ctgy_in.value='';document.frmParms.mat1.value='';document.frmParms.mat1_top.value=0;document.frmParms.mat1_right.value=0;document.frmParms.mat1_bottom.value=0;document.frmParms.mat1_left.value=0;document.frmParms.mat2_parent.value='Paper';
document.frmParms.mat2_ctgy.value='White';document.frmParms.mat2_ctgy_in.value='';document.frmParms.mat2.value='';document.frmParms.mat2_width.value=0;document.frmParms.mat3_parent.value='Paper';document.frmParms.mat3_ctgy.value='White';document.frmParms.mat3_ctgy_in.value='';document.frmParms.mat3.value='';document.frmParms.mat3_width.value=0;document.frmParms.glazing.value='acrylic';document.frmParms.glazing_constraints.value='0,0,78,52';document.frmParms.glazing_update.value='true';hideAll();showFrame('size',false,228);if(isVisible('div_matting')==false){makeVisible('div_matting');makeVisible('div_glazing');}updatePrintRealView();if(document.images){document.images.img_size_text.src=strImgTextUrl+'size'+'/'+'portfolio'+'.gif';document.images.img_media_text.src=strImgTextUrl+'media'+'/'+'basic_cardstock_xry'+'.gif';document.images.img_framing_text.src=strImgTextUrl+'framing'+'/'+'wood_aspect_black'+'.gif';document.images.img_matting_text.src=strImgTextUrl+'matting'+'/'+'no_matting'+'.gif';
document.images.toolbar_matting.src=toolbar_matting1.src;document.images.img_glazing_text.src=strImgTextUrl+'glazing'+'/'+'acrylic'+'.gif';}}}function hideAll(){btnOut('btn_size',true);makeInvisible('iframe_size');makeInvisible('line_top_size');makeInvisible('line_bottom_size');btnOut('btn_media',true);makeInvisible('iframe_media');makeInvisible('line_top_media');makeInvisible('line_bottom_media');btnOut('btn_framing',true);makeInvisible('iframe_framing');makeInvisible('line_top_framing');makeInvisible('line_bottom_framing');btnOut('btn_matting',true);makeInvisible('toolbar_matting');makeInvisible('iframe_matting');makeInvisible('line_top_matting');makeInvisible('line_bottom_matting');btnOut('btn_glazing',true);makeInvisible('iframe_glazing');makeInvisible('line_top_glazing');makeInvisible('line_bottom_glazing');if(document.images){document.images.btn_edit_hide_size.src=edit_off.src;document.images.btn_edit_hide_media.src=edit_off.src;document.images.btn_edit_hide_framing.src=edit_off.src;
document.images.btn_edit_hide_matting.src=edit_off.src;document.images.btn_edit_hide_glazing.src=edit_off.src;}}