function Trim(a){while(a.value.charAt(0)==" "){a.value=a.value.substring(1,a.value.length)}while(a.value.charAt(a.value.length-1)==" "){a.value=a.value.substring(0,a.value.length-1)}}function UndefinedToBlank(a){if(a==undefined){return""}else{return a}}function UndefinedToZero(a){if(a==undefined){return 0}else{return a}}function LaunchContactUsFormPopup(a,b){refit=window.open("/ContactUsForm.aspx?Mode="+UndefinedToZero(a)+"&Subject="+UndefinedToBlank(b),"ContactUsFormPopup","width=550,height=600,scrollbars=1,resizable=1")}function LaunchPopup(a){refit=window.open(a,"Popup","width=530,height=530,scrollbars=1,resizable=1")}function LaunchResellerPopup(a){refit=window.open(a,"Popup","width=600,height=180,scrollbars=0,resizable=1")}function gofonts(){window.open("signfonts.aspx","win3","width=420,height=400")}function gocolors(){refit=window.open("signcolors.aspx","gocolors","width=450,height=480")}function gotips(){refit=window.open("designtips.aspx","gotips","width=790,height=370,scrollbars=1,resizable=1")}function LaunchTextMaximizedTip(){refit=window.open("DesignTips_TextMaximized.aspx","TextMaximizedTip","width=790,height=400,scrollbars=1,resizable=1")}function LaunchPriceTextTip(){refit=window.open("DesignTips_PriceText.aspx","PriceTextTip","width=790,height=400,scrollbars=1,resizable=1")}function LaunchImageUploadHelp(){refit=window.open("ImageUploadHelp.aspx","ImageUploadHelp","width=400,height=330,scrollbars=1,resizable=1")}function goMedia_Economy(){refit=window.open("media_Economy.aspx","goMedia_Economy","width=300,height=400,scrollbars=1,resizable=1")}function goMedia_Standard(){refit=window.open("media_Standard.aspx","goMedia_Standard","width=300,height=430,scrollbars=1,resizable=1")}function goMedia_Glossy(){refit=window.open("media_Glossy.aspx","goMedia_Glossy","width=300,height=430,scrollbars=1,resizable=1")}function goMedia_Vinyl(){refit=window.open("media_Vinyl.aspx","goMedia_Vinyl","width=400,height=380,scrollbars=1,resizable=1")}function goMedia_VinylGrommets(){refit=window.open("media_VinylGrommets.aspx","goMedia_VinylGrommets","width=400,height=530,scrollbars=1,resizable=1")}function goMedia_WindowCling(){refit=window.open("media_WindowCling.aspx","goMedia_WindowCling","width=590,height=550,scrollbars=1,resizable=1")}function goMedia_WindowStick(){refit=window.open("media_WindowStick.aspx","goMedia_WindowStick","width=600,height=450,scrollbars=1,resizable=1")}function goMedia_WindowPerf(){refit=window.open("media_WindowPerf.aspx","goMedia_WindowPerf","width=770,height=520,scrollbars=1,resizable=1")}function goMedia_WallSticker(){refit=window.open("media_WallSticker.aspx","goMedia_WallSticker","width=400,height=470,scrollbars=1,resizable=1")}function goMedia_CoolerDoorSticker(){refit=window.open("media_CoolerDoorSticker.aspx","goMedia_CoolerDoorSticker","width=400,height=400,scrollbars=1,resizable=1")}function goMedia_SignicadeSignSticker(){refit=window.open("media_SignicadeSignSticker.aspx","goMedia_SignicadeSignSticker","width=400,height=420,scrollbars=1,resizable=1")}function goMedia_CounterTopperInsert(){refit=window.open("media_CounterTopperInsert.aspx","goMedia_CounterTopperInsert","width=400,height=430,scrollbars=1,resizable=1")}function goDownloadSciPosterTemplateVideo(){window.open("http://images.graphicsland.com/videos/DownloadSciPosterTemplate/DownloadSciPosterTemplate.html","win1","width=720,height=640")}function goOrderSciPosterVideo(){window.open("http://images.graphicsland.com/videos/OrderSciPoster/OrderSciPoster.html","win1","width=720,height=640")}function goHHMenuVideo(){window.open("http://images.graphicsland.com/videos/HungryHowies/MenuInserts/HH-menu2.html","win1","width=720,height=640")}function goPosterGenius_ExportPDF(){refit=window.open("PosterGenius_ExportPDF.aspx","goPosterGenius_ExportPDF","width=610,height=590,scrollbars=1,resizable=1")}function goPosterGenius_SpecialPaste(){refit=window.open("PosterGenius_SpecialPaste.aspx","goPosterGenius_SpecialPaste","width=700,height=715,scrollbars=1,resizable=1")}function breakWord(a){if(!a||a.nodeType!==1){return false}else{if(a.currentStyle&&typeof a.currentStyle.wordBreak==="string"){breakWord=function(c){c.runtimeStyle.wordBreak="break-all";return true};return breakWord(a)}else{if(document.createTreeWalker){var b=function(d){d=d.replace(/^\s\s*/,"");var e=/\s/,c=d.length;while(e.test(d.charAt(--c))){}return d.slice(0,c+1)};breakWord=function(e){var f=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,false);var g,h,d=String.fromCharCode("8203");while(f.nextNode()){g=f.currentNode;h=b(g.nodeValue).split("").join(d);g.nodeValue=h}return true};return breakWord(a)}else{return false}}}}void function(){var a=document.getElementsByTagName("div");var b,c;var e="break-word_JS";var d=new RegExp("(\\s|^)"+e+"(\\s|$)");for(c=0;b=a[c];c++){if(b.className.match(d)){breakWord(b)}}}();function onEnterKeyClickButton(c,b){var d=c?c:window.event;var a=document.getElementById(b);if(a){if(d.keyCode==13){a.click();return false}}}function hideDiv(a){document.getElementById(a).style.visibility="hidden"}function showDiv(a){document.getElementById(a).style.visibility="visible"};
