if(top.location!=self.location)top.location=self.location;function Form_onsubmit(){setTimeout("DisableButton()",1E3);setTimeout("EnableButton()",14E3);return!0}function DisableButton(){for(var a=document.getElementById("form1"),b=0;b<a.length;b++)if("button"==a[b].type||"submit"==a[b].type)a[b].disabled=!0}function EnableButton(){for(var a=document.getElementById("form1"),b=0;b<a.length;b++)if("button"==a[b].type||"submit"==a[b].type)a[b].disabled=!1}
function BookmarkPage(){var a=document.location.href;0<a.indexOf("?")&&(a=a.substring(0,a.indexOf("?")));if(document.all)window.external.AddFavorite(a,document.title);else if(window.sidebar)window.sidebar.addPanel(window.document.title,a,"");else{alert("Sorry! Your browser doesn't appear to support this function.\n\r\n\rYou can Bookmark this page manually by clicking your Browsers' Bookmark icon.");return}(new Image).src="http://www.blocklayer.com/Logger.ashx?p="+escape(document.location.href.substring(11))+
"&a=Bookmarked"}function TellAFriend(){window.open("TellFriend.aspx",null,"height=400,width=600,resizable=1,scrollbars=0,status=0,toolbar=0,menubar=0,location=0").focus()}function GetFramework(){(new Image).src="http://www.raffleprinter.com/Logger.ashx?p=Framework3&a=Ticketer3";window.navigate("App2008/setup.exe")}
function SetTitles(){document.getElementById("marg1").style.backgroundImage="url('images/Metalbg.jpg')";document.getElementById("marg2").style.backgroundImage="url('images/Metalbg.jpg')";for(var a=0;a<document.images.length;a++)if(0<document.images[a].alt.length)document.images[a].title=document.images[a].alt;if(1030<screen.width&&7<IsIE())document.getElementById("divTwit").style.display="block"}
function IsIE(){var a=navigator.userAgent;return-1<a.indexOf("IE")&&null!=/MSIE ([0-9]{1,}[.0-9]{0,})/.exec(a)?parseFloat(RegExp.$1):100}function ExplainIE(){alert("Raffleprinter is a Windows WPF Application, deployed via 'Clickonce'.\n\r\n\rTo start the program you need to visit this site using Internet Explorer.\n\r\n\rSorry for the inconvenience.")}function Menu(a){document.getElementById(a).style.backgroundColor="#d3e3f3"}
function Log(a,b){(new Image).src="http://www.blocklayer.com/logger.ashx?a=PrintPartners&p="+b;setTimeout("window.open('"+a.href+"')",100)}function ShowTwitter(){window.open("http://twitter.com/share?url="+escape("http://www.raffleprinter.com/?r=t"),null,"height=400,width=600,scrollbars=0,resizable=1,status=0,toolbar=0,menubar=0,location=0").focus()}
function LinkedInShare(){var a="http://www.linkedin.com/shareArticle?mini=true&url="+escape("http://www.raffleprinter.com/?r=li")+"&title="+escape("Make Your Own Raffle Tickets - Free Online")+"&summary="+escape("Print to Your Printer - Easy Step by Step Instructions")+"&source="+escape("RafflePrinter.com");window.open(a,null,"height=400,width=600,scrollbars=0,resizable=1,status=0,toolbar=0,menubar=0,location=0").focus()};
