allmsg=new Array(
"ABOUT THE TEAM AT GOLD PACT POWER",
"over 200 combined years of{]experience in infrastructure",
"first profitable wind farm in California",
"first to offer land owners 10% lease rates{]first to offer land owners project ownership{]first to offer land owners 50% of gross revenues",
"first to offer free power for schools{]first to offer 20% of net profits for youth and family agencies{]first to offer foreign nations power and fuel at 50% of existing prices",
"over 50 years designing infrastructure{]hospitals, airports, desalination plants{]and entire cities from vacant desert land",
"over 20 years operating wind farms",
"over 20 years designing and auditing{]nuclear power, conventional fuel{]and wind farm generating stations",
"over 30 years designing, building and operating{]conventional fuel generating stations",
"first multi-faceted wind farm design{]with zero outages 24/7/365{]...and no blackouts",
"first proven lightning-proof and earthquake resistant{]high power capacity transmission systems{]eliminating black outs from poor grid maintenance",
"first wind turbine blade design{]improving lift-to-drag ratio{]providing 28% more power",
"first wind turbine design improving{]wattage output per footprint of overall blade diameter{]providing 70% more power",
"first industry proven drive trains{]designed to last 3 to 5 times longer{]than current wind turbine gear boxes",
"first wind farm financing model{]increasing investor ROI yield to 1250%{]eliminating wind farm financing bottlenecks",
"first proven high-capacity transmission system{]reducing cost per MW mile{]to 1/8th of current costs",
"first cost-effective firm-wind power conditioning{]with load balancing and zero offline trips{]keeping wind farms online 24/7/365",
"first cost-effective zero-emission{]EPA compliant solution for{]coal-fired generating stations",
"first zero-emission hydrogen production{]reducing KWH cost for fuel production{]from 12,000KWH to 3,000KWH per ton",
"first stranded-wind solution{]eliminating transmission bottlenecks{]and new transmission financing problems",
"first aviation grade fuel production formula{]produced by wind power{]eliminating fuel-driven aircraft explosions",
"first comprehensive desert reclamation system{]driven and fueled by wind power{]producing millions of acre feet of water"
)

function gohome()
{  goingto="home.html"
   gosee()
}

function msgswap()
{  msgptr++
   var mytime=7777
   if (msgptr>=allmsg.length)
   {  msgptr=0
   }
   if (msgptr==0)
   {  mytime=2500
   }
   var mymsg=allmsg[msgptr]
   msplit=mymsg.split(sep)
   document.getElementById('msgarea0').innerHTML = ""
   document.getElementById('msgarea1').innerHTML = ""
   document.getElementById('msgarea2').innerHTML = ""
   for (m=0; m<msplit.length; m++)
   {   var amsg="<font face=\"verdana, arial, helvetica\" size=\"4\" color=\"#314263\" class=\"thtcolor\"><b><i>"+msplit[m]
       var msggo="msgarea"+m
       document.getElementById(msggo).innerHTML = amsg
   }
   setTimeout("msgswap()",mytime)
}

function gosee()
{  gone=true
   homewin=window.open(goingto)
   window.blur()
   homewin.focus()
}

var msgptr=-1
var sep="{]"
var goingto="home.html"
var gone=false
var homewin=""
var myref=window.location.href
myref=unescape(myref)
myref=myref.toLowerCase()


if (myref.indexOf("?")>-1)
{  msplit=myref.split("?")
   var rside=msplit[1]
   var gothere="http://goldpactpower.com/"+rside+".html"
   goingto=gothere
}

if ((myref.indexOf("?0")>-1 || myref.indexOf("?1")>-1) && (myref.indexOf("10x")<0 && myref.indexOf("10times")<0))
{  msplit=myref.split("?")
   var rside=msplit[1]
   if (rside.length!=6)
   {  alert("Invalid Date format\n\nPlease type www.goldpactpower.com?MMDDYY\n\nwhere MMDDYY is a 6 digit date, i.e. 123109")
   }  else
   {  goingto="http://goldpactpower.com/"+rside+".html"
   }
}

if (myref.indexOf("?lawyer")>-1)
{  goingto="gpplaw.html"
}

if (myref.indexOf("?hmb")>-1)
{  alert("Use the code\n\nbdbag\n\non the next prompt")
   msplit=myref.split("?")
   myref=msplit[0]+"?mna"
}

if (myref.indexOf("?fire")>-1)
{  goingto="mna.html"
}

if (myref.indexOf("?study")>-1)
{  msplit=myref.split("?")
   var rside=msplit[1]
   goingto="http://goldpactpower.com/"+rside+".html"
}

if (myref.indexOf("?10x")>-1 ||myref.indexOf("?10times")>-1)
{  goingto="http://goldpactpower.com/tentimes.html"
}

if (myref.indexOf("?wallstreet")>-1 || myref.indexOf("?wall street")>-1)
{  goingto="wallst.html"
}


if (myref.indexOf("?gppcu")>-1)
{  goingto="united.html"
}

if (myref.indexOf("?")>-1 && myref.indexOf("co-op")>-1)
{  refsplit=myref.split("?")
   var rside=refsplit[1]
   refsplit=rside.split("co-")
   var lside=refsplit[0]
   goingto=lside+".html"
}

if (myref.indexOf("?amd")>-1)
{  goingto="http://goldpactpower.com/amd2.html"
}

if (myref.indexOf("?knp")>-1)
{  goingto="http://goldpactpower.com/knp2.html"
}

function loaded()
{  msgswap()
   if (goingto!="home.html")
   {  gosee()
   }
}
