<!-- Begin
var browser = navigator.appName

Netscape = navigator.appName == "Netscape";

if(Netscape) {
  NetscapeVer = parseFloat(navigator.appVersion);
}

var curr="button2div";

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=465,height=350,left=50,top=80');");
}

function popUp1(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=400,left=30,top=30');");
}

function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=500,left=20,top=20');");
}

function details(popURL) {
var URL = "/details/" + popURL + ".htm";
popUp(URL);
}

function order(data) {
window.location = "http://PremierWebsiteSolutions.com/cart/index.cgi?" + data;
}

function gotolink(Dom,link,target) {
//skipbyebye();
var Url = "";

if (target == 1) {
    target = "_blank";
  }
  else {
    target = "_top";
}

domParts = Dom.split("|");
var ext = domParts[1];
switch (domParts[0]) {
  case "M" :
     Url = "http://www.PremierWebsiteSolutions."+ ext + "/" + link;
    break;
  case "H" :
     Url = "http://hosting.PremierWebsiteSolutions."+ ext + "/" + link;
    break;
  case "D" :
     Url = "http://design.PremierWebsiteSolutions."+ ext + "/" + link;
    break;
  case "R" :
     Url = "http://registration.PremierWebsiteSolutions."+ ext + "/" + link;
    break;
  case "Q" :
     Url = "http://faq.PremierWebsiteSolutions."+ ext + "/" + link;
    break;
  case "S" :
     Url = "https://premierwebsitesolutions.com/" + link;
    break;
  case "F" :
     Url = "http://forums.PremierWebsiteSolutions."+ ext + "/" + link;
    break;
}

if (Url != "") window.open(Url,target);
}

function movepicover(img_name,img_src) {
hide(curr);
if (img_name != "seal")
  img_src = "/images/" + img_src;
document[img_name].src=img_src;
document.getElementById(img_name + 'div').style.visibility = "visible";
document.getElementById("bottombar").style.visibility = "visible";
document.getElementById("sidebar").style.visibility = "visible";
curr=(img_name + 'div')
}

function movepic(img_name,img_src) {
if (img_name != "seal")
  img_src = "/images/" + img_src;
document[img_name].src=img_src;
}

function hide(curr) {
document.getElementById(curr).style.visibility = "hidden";
}

function showdiv(div1) {
element = "button" + div1 + "div";
if (document.getElementById(element) != null)
  document.getElementById(element).style.visibility = "visible";
}

function hidediv(div1) {
element = "button" + div1 + "div";
if (document.getElementById(element) != null)
  document.getElementById(element).style.visibility = "hidden";
}

function Show(el) {
if (document.getElementById(el) != null)
  document.getElementById(el).style.visibility = "visible";
}

function Hide(el) {
if (document.getElementById(el) != null)
  document.getElementById(el).style.visibility = "hidden";
}

function Inline(el) {
if (document.getElementById(el) != null)
  document.getElementById(el).style.display = 'inline';
}

function Block(el) {
if (document.getElementById(el) != null)
  document.getElementById(el).style.display = 'block';
}

function None(el) {
if (document.getElementById(el) != null)
  document.getElementById(el).style.display = 'none';
}

function overbar(curr) {
hide(curr);
curr="sidebar";
hide(curr);
curr="bottombar";
hide(curr);
}

var arImages=new Array();
function Preload() {
 var temp = Preload.arguments; 
 for(x=0; x < temp.length; x++) {
  arImages[x]=new Image();
  arImages[x].src=Preload.arguments[x];
 }
}

function readCookie(cookieName) {
cookieArray = document.cookie.split(';');
for(i=0;i < cookieArray.length;i++) {
  currentCookie = cookieArray[i];
  while (currentCookie.charAt(0)==' ')
	  currentCookie = currentCookie.substring(1,currentCookie.length);
  if (currentCookie.indexOf(cookieName) == 0)
	  return currentCookie.substring(cookieName.length+1,currentCookie.length);
}
return null;
}

function createCookie(cookieValue,cookieDays,cookieDomain) {
date = new Date();
var cookieDaysNum = parseFloat(cookieDays);
var milliseconddelay = cookieDaysNum * 24 * 60 * 60 * 1000;
//alert(milliseconddelay);
date.setTime(date.getTime()+milliseconddelay);
var expires = "; expires="+date.toGMTString();
var path = "; path=/";
if (cookieDomain)
    var domain = "; domain="+cookieDomain;
  else
    var domain = "";
document.cookie = cookieValue+expires+path+domain;
}

function flheader() {
document.write('<div id="flash" style="position:absolute;top:0px;left:20px;height:140px;width:850px;z-index:1;" onmouseover="overbar(curr)">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
//document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write('width="850" height="140" onmouseover="overbar(curr)">');
document.write('<param name="movie" value="/PWSheader.swf">');
document.write('<param name="quality" value="autohigh">');
document.write('<param name="bgcolor" value="#ffffff">');
document.write('<param name="loop" value="false">');
document.write('<param name="wmode" value="transparent">');
document.write('<embed src="/PWSheader.swf" quality="autohigh" bgcolor="#ffffff" width="850"');
document.write(' height="140" loop="false" name="movie" type="application/x-shockwave-flash"');
document.write(' pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent" onmouseover="overbar(curr)">');
document.write('</embed>');
document.write('</object>');
document.write('</div>');
}

function sflheader() {
document.write('<div id="flash" style="position:absolute;top:0px;left:20px;height:140px;width:850px;z-index:1;" onmouseover="overbar(curr)">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
//document.write('codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write('width="850" height="140" onmouseover="overbar(curr)">');
document.write('<param name="movie" value="/PWSheader.swf">');
document.write('<param name="quality" value="autohigh">');
document.write('<param name="bgcolor" value="#ffffff">');
document.write('<param name="loop" value="false">');
document.write('<param name="wmode" value="transparent">');
document.write('<embed src="/PWSheader.swf" quality="autohigh" bgcolor="#ffffff" width="850"');
document.write(' height="140" loop="false" name="movie" type="application/x-shockwave-flash"');
document.write(' pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent" onmouseover="overbar(curr)">');
document.write('</embed>');
document.write('</object>');
document.write('</div>');
}

function fltransfer() {
document.write('<div id="flash2" style="position:absolute;top:100px;left:665px;height:140px;width:155px;z-index:1;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
//document.write('codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write('width="155" height="140">');
document.write('<param name="movie" value="/unlimitedtransfer.swf">');
document.write('<param name="quality" value="autohigh">');
document.write('<param name="bgcolor" value="#ffffff">');
document.write('<param name="loop" value="true">');
document.write('<param name="wmode" value="transparent">');
document.write('<embed src="/unlimitedtransfer.swf" quality="autohigh" bgcolor="#ffffff" width="155"');
document.write(' height="140" loop="true" name="movie" type="application/x-shockwave-flash"');
document.write(' pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent">');
document.write('</embed>');
document.write('</object>');
document.write('</div>');
}

function FDPbanner() {
document.write('<div id="FDPbanner" style="position:absolute;top:440px;left:120px;height:110px;width:468px;z-index:5;">');
document.write('one of our clients<br>');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
//document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
document.write('width="468" height="90">');
document.write('<param name="movie" value="/banners/FDPbanner.swf">');
document.write('<param name="quality" value="autohigh">');
document.write('<param name="bgcolor" value="#ffffff">');
document.write('<param name="loop" value="true">');
document.write('<param name="wmode" value="transparent">');
document.write('<embed src="/banners/FDPbanner.swf" quality="autohigh" bgcolor="#ffffff" width="468"');
document.write(' height="90" loop="true" name="movie" type="application/x-shockwave-flash"');
document.write(' pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent">');
document.write('</embed>');
document.write('</object>');
document.write('</div>');
}

// End -->

