

function writeBeforeHTML(){

	document.write("<script language=\"Javascript1.2\">\r\n\t<!--\r\n\t/*------------------------------------\r\n\t  SIMPLE, CROSS-BROWSER WINDOW OPENING FUNCTION\r\n\t  ------------------------------------*/\r\n\t/*\r\n\tTo force scroll bars:\r\n\tonclick=\"launchWindow(\'emailsettings.cfm\',500,500,null,null,\',scrollbars,resizable,menubar\');return false;\"\r\n\tTo not include scroll bars:\r\n\tonclick=\"launchWindow(\'emailmanagerlink.cfm\');return false;\"\r\n\t*/\r\n\tfunction launchWindow(url,width,height,halign,valign,options,popName){\r\n\t\tif(options == null)\r\n\t\t\toptions = \",scrollbars=auto,resizable,menubar\";\r\n\t\tif(halign == null)\r\n\t\t\thalign = \"center\";\r\n\t\tif(valign == null)\r\n\t\t\tvalign = \"center\";\r\n\t\tif(popName == null)\r\n\t\t\tpopName = \"popDialog\"+(\"\"+Math.random()).substr(0,5).replace(\".\",\"\"); \t\r\n\t  \tif(width > screen.availWidth)\r\n\t\t\twidth = screen.availWidth;\r\n\t\tif(height > screen.availHeight)\r\n\t\t\theight = screen.availHeight;\r\n\t  var numtries = 0;\t\r\n\t  while(true){\r\n\t  \tnumtries += numtries;\r\n\t\tif(valign == \"top\")\r\n\t\t\tyPos = 0;\r\n\t\telse if(valign == \"bottom\")\r\n\t\t\tyPos = screen.availHeight-30-height;\r\n\t\telse\r\n\t\t\tyPos = (screen.availHeight-30-height)/2;\r\n\t\tif(halign == \"left\")\r\n\t\t\txPos = 0;\t\r\n\t\telse if(halign == \"right\")\r\n\t\t\txPos = screen.availWidth-10-width;\r\n\t\telse\t\t\t\r\n\t\t\txPos = (screen.availWidth-10-width)/2;\r\n\t    var popWindow = window.open(url,popName, \"width=\"+width+\",height=\"+height+\",top=\"+yPos+\",left=\"+xPos+options)\r\n\t    if(popWindow == null){\r\n\t      status=\"window.open failed\"\r\n\t    }\r\n\t    else{\r\n\t      //popWindow.resizeTo(width,height);\r\n \t\t\t/* Commented out by Chris on 10-22-01\r\n\t\t\tif(valign == \"top\")\r\n\t\t\t\tyPos = 0;\r\n\t\t\telse if(valign == \"bottom\")\r\n\t\t\t\tyPos = screen.availHeight-30-height;\r\n\t\t\telse\r\n\t\t\t\tyPos = (screen.availHeight-30-height)/2;\r\n\t\t\tif(halign == \"left\")\r\n\t\t\t\txPos = 0;\t\r\n\t\t\telse if(halign == \"right\")\r\n\t\t\t\txPos = screen.availWidth-10-width;\r\n\t\t\telse\t\t\t\r\n\t\t\t\txPos = (screen.availWidth-10-width)/2;\r\n\t\t\t*/\r\n//\t\t\t[commneted out by Aaron 10-21-01]  \t\t\t\t\r\n//\t\t\tpopWindow.moveTo(xPos,yPos);\t\r\n\t\t\tbreak\r\n\t    }\r\n\t\tif(numtries > 10)\r\n\t\t\tbreak;\r\n\t  }\r\n\t}\r\n\t//-->\r\n\t</script> \r\n\t\t\t<map name=\"TopMap\">\r\n\t\t\t\t<area href=\"http://www.smallbiz.com/\" shape=\"rect\" coords=\"2,10,99,35\">\r\n\t\t\t\t\r\n\t\t\t\t<area href=\"http://www.smallbiz.com/incorporator\" shape=\"rect\" coords=\"100,10,194,35\" alt=\"Incorporate Your Business!\">\r\n\t\t\t\t<area href=\"http://www.smallbizsecretary.com/\" shape=\"rect\" coords=\"195,10,296,35\" alt=\"Put your company on autopilot!\">\r\n\t\t\t\t<area href=\"http://www.smallbiz.com/tab_otherservices.cfm\" shape=\"rect\" coords=\"297,10,399,35\" alt=\"Other Products & Services\">\r\n\t\t\t\t\r\n\t\t\t</map>\r\n\t\t\r\n\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"590\">\r\n\t\t\t\r\n\t\t\t<tr>\r\n\t\t\t\t<td colspan=\"3\">\r\n\t\t\t\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t<td  width=\"14\" height=\"40\" style=\"background-image: url(/images/smallbiz_template/content/upperleft.gif); background-position: bottom; background-repeat:no-repeat\"><img border=\"0\" src=\"/images/blankpixel.gif\" width=\"14\" height=\"40\"></td>\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t<td width=\"562\" height=\"40\"  style=\"background-image: url(/images/smallbiz_template/content/bgtop.gif);   background-repeat:repeat-x; background-position: 1 15.5;\"  valign=\"bottom\">\r\n\t\t\t\t\t\t\t\t\t<span class=\"no_print\"><img border=\"0\" src=\"/images/smallbiz_template/tabs/top2.gif\" usemap=\"#TopMap\"></span>  \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t \t\r\n\t\t\t\t\t\t\t <td   style=\"background-image: url(\'/images/smallbiz_template/content/bgtop.gif\');   background-repeat:repeat-x;  background-position: 0 15.5;\"  > <A onmouseover=\"changeImages( \'contactus_a\', \'contactus_b\');\" onmouseout=\"changeImages( \'contactus_a\', \'contactus_a\');\" href=\"javascript:launchWindow(\'/static/contactusnow.cfm\',650,500,null,null,\'resizable,scrollbars\');\"  ><IMG src=\"/images/contactus_a.gif\" border=0 name=contactus_a ><br><img border=\"0\" src=\"/images/blankpixel.gif\" width=\"1\" height=\"0\"> </td>\r\n\t\t\t\t\t\t\t <td width=\"14\" height=\"40\" style=\"background: url(/images/smallbiz_template/content/upperright.gif) no-repeat;   background-position: 0 15.5;\"><img border=\"0\" src=\"/images/blankpixel.gif\" width=\"14\" height=\"40\"></td>\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t<tr>\r\n\t\t\t\t<td width=\"14\" background=\"/images/smallbiz_template/content/bgleft.gif\" height=\"100%\">\r\n\t\t\t\t\t<img src=\"/images/blankpixel.gif\" width=\"1\" height=\"500\" border=0>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"562\" class=\"contentbody\" valign=\"top\" height=\"100%\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"562\">\r\n\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t<td class=\"contentbody\" width=\"562\" background=\"/images/smallbiz_template/content/bgpageheading.gif\">\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<a href=\"http://www.smallbizid.com/\">\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<img border=\"0\" src=\"/images/smallbiz_template/pageheads/states/smallbizid.gif\" >\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t<div align=\"center\" class=\"contentbody\">\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http://www.smallbiz.com/\">\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\tLeave ID Site\r\n\t\t\t\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t</td>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</table>\r\n\t\t\t\t\t");
}