//////////////////////////////////////////////////////////////////////////////
//  Birdsoft.net Script
//  Copyright 2001-2012 by Birdsoft LLC(Brian Heilman)
//
//  This code can only be used under license. Any unauthorized use is strictly
//  prohibited. This is not Freeware or Shareware!!! 
//

//function toggleDiv(showHideDiv) 
//{
//	var ele = document.getElementById(showHideDiv);

//	if(ele.style.display == "block") 
//        {
//    		ele.style.display = "none";
//  	}
//	else 
//        {
//		ele.style.display = "block";
//	}
//} 

function showDiv(showHideDiv) 
{
	var ele = document.getElementById(showHideDiv);

	if(ele.style.display == "none") 
	{
		ele.style.display = "block";
	}
} 

function hideDiv(showHideDiv) 
{
	var ele = document.getElementById(showHideDiv);

	if(ele.style.display == "block") 
	{
		ele.style.display = "none";
	}
} 

function hideDivs(hideTheseDivs)
{
   if (hideTheseDivs.constructor == Array) 
   {
         for(i=0; i < hideTheseDivs.length; i++) 
         {
             hideDiv(hideTheseDivs[i]);
         }
   }
   else
   {
          hideDiv(hideTheseDivs);
   }
}





function drawBigBanner()

{


	//dumping the top banners for now
	var string;

//	string = "<img src='images/clear.gif' width=60>";
//	string = "<a href='project.htm'><img src='images/prj1regbnr.gif' border=0></a>";
//	string = "<a href='mobilecontacts.htm'><img src='images/contactingbnr1b.gif' border=0></a>";
//	string += "<br><br>";
//	document.write(string);
	
//	return;


	var bigCount = getBigBanner();

	bigCount = parseInt(bigCount);

	if(bigCount > NumBigBnrs)
	{
	    bigCount = 1;
	}


	if(bigCount == 1)
	{
		string = BigBnr1;
		string += "<br><br>";
	}
	else if(bigCount == 2)
	{
		string = BigBnr2;
		string += "<br><br>";
	}
	else if(bigCount == 3)
	{
		string = BigBnr3;
		string += "<br><br>";
	}
	else if(bigCount == 4)
	{
		string = BigBnr4;
		string += "<br><br>";
	}
	else if(bigCount == 5)
	{
		string = BigBnr5;
		string += "<br><br>";
	}
	else if(bigCount == 6)
	{
		string = BigBnr6;
		string += "<br><br>";
	}
	else if(bigCount == 7)
	{
		string = BigBnr7;
		string += "<br><br>";
	}
	else if(bigCount == 8)
	{
		string = BigBnr8;
		string += "<br><br>";
	}
	else if(bigCount == 9)
	{
		string = BigBnr9;
		string += "<br><br>";
	}
	else if(bigCount == 10)
	{
		string = BigBnr10;
		string += "<br><br>";
	}
	else if(bigCount == 11)
	{
		string = BigBnr11;
		string += "<br><br>";
	}
	else if(bigCount == 12)
	{
		string = BigBnr12;
		string += "<br><br>";
	}
	else if(bigCount == 13)
	{
		string = BigBnr13;
		string += "<br><br>";
	}
	else if(bigCount == 14)
	{
		string = BigBnr14;
		string += "<br><br>";
	}


	document.write(string);

	bigCount++;

	//Remember this is in two places(above for entry too)
	if(bigCount > 10)
	{
	    bigCount = 1;
	}

	setBigBanner(bigCount);

}

function setBigBanner(value)
{
	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (10*24*60*60*1000));//10 days

	SetCookie('BigBnr',value ,expIs);
}

function getBigBanner()
{
    var result = GetCookie('BigBnr');	

    if(result == null) 
	{
		return "1";
	}
	else
	{
		return result;
	}
}

function GetCookie (name) 
{  
	var arg = name + "=";  

	var alen = arg.length;  

	var clen = document.cookie.length;  

	var i = 0;  

	while (i < clen) 
	{

		var j = i + alen;    

		if (document.cookie.substring(i, j) == arg)      

			return getCookieVal (j);    

		i = document.cookie.indexOf(" ", i) + 1;    

		if (i == 0) 

			break;   

	}  

	return null;
}



function SetCookie (name, value) 
{  
	var argv = SetCookie.arguments;  

	var argc = SetCookie.arguments.length;  

	var expires = (argc > 2) ? argv[2] : null;  

	var path = (argc > 3) ? argv[3] : null;  

	var domain = (argc > 4) ? argv[4] : null;  

	var secure = (argc > 5) ? argv[5] : false;  

	document.cookie = name + "=" + escape (value) + 

	((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 

	((path == null) ? "" : ("; path=" + path)) +  

	((domain == null) ? "" : ("; domain=" + domain)) +    

	((secure == true) ? "; secure" : "");
}



function DeleteCookie (name) 
{  
	var exp = new Date();  

	exp.setTime (exp.getTime() - 1);   

	var cval = GetCookie (name);  

	document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}

function getCookieVal(offset) 
{
	var endstr = document.cookie.indexOf (";", offset);

	if (endstr == -1)

		endstr = document.cookie.length;

	return unescape(document.cookie.substring(offset, endstr));

}

function SetChangedCart(value)

{
	var expIs = new Date(); 

	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days


	SetCookie('ChangedCartBefore',value ,expIs)
}



function GetChangedCart()

{
    var result = GetCookie('ChangedCartBefore')	

    if(result == null) 

	{
		return null;
	}
	else
	{
		return result;
	}
}
function setPersonalizedCart(value)
{
	var expIs = new Date(); 
	expIs.setTime(expIs.getTime() + (60*24*60*60*1000));//60 days

	SetCookie('PzdCart',value ,expIs)
}

//Reads zip outta the cookie, to personalize the page
function GetPersonalizedCart()
{
    var result = GetCookie('PzdCart')	

    if(result == null) 
    {
	return null;
    }
    else
    {
	return result;
    }
}

function drawShoppingCart(handangoID,name,number,amount,mobihandID) 
{
  var string = "";

  var carttype = GetPersonalizedCart();


//  if(carttype == null)
//	carttype = "";

// just switch the if and else statements to the opposite if you want Handango to be default -make sure to switch in a 'available at' too

   if (carttype == "Paypal")
   {
	//Paypal....

//	string += '<tr><td WIDTH="100%" COLSPAN="2" class="small">';  
//	string += '<center><br><font size ="-10">';
	string += '<center><table border=0 cellpadding=0 cellspacing=0><tr><td>';

	string += '<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	string += '<input type="image" src="images/buynow07.gif" border="0" name="submit" alt="Shopping Cart">';
	string += '<input type="hidden" name="add" value="1">';
	string += '<input type="hidden" name="cmd" value="_cart">';
	string += '<input type="hidden" name="business" value="brian@birdsoft.net">';
	string += '<input type="hidden" name="item_name" value="' + name + '">';
	string += '<input type="hidden" name="item_number" value="' + number + '">';
	string += '<input type="hidden" name="amount" value="' + amount + '">';
	string += '<input type="hidden" name="no_note" value="1">';
	string += '<input type="hidden" name="currency_code" value="USD">';
	string += '<input type="hidden" name="return" value="http://www.birdsoft.biz/paythanks.htm">';
	string += '<input type="hidden" name="cancel_return" value="http://www.birdsoft.biz/">';
	string += '</form>';

	string += '</td><td>';

	string += '<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	string += '<input type="hidden" name="cmd" value="_cart">';
	string += '<input type="hidden" name="business" value="brian@birdsoft.net">';
	string += '<input type="image" src="images/cart07.gif" border="0" name="submit" alt="View Cart">';
	string += '<input type="hidden" name="display" value="1">';
	string += '</form>';
	string += '</td></tr></table></center>';


	string += '<center><b>Only $' + amount + '</b></center>';
	//string += '<tr><td align=right valign=top class="small">Powered by <img src="images//pplil1.gif" border=0></td></tr>';
	//string += '<tr><td align=right valign=top class="small"><br><center><a href="javascript:SwapShoppingCart()"><img src="images//switchtohandango2.GIF" border=0></a></center></td></tr>';
    }
    else if(carttype == "Handango")//either "handango" 
    {
    	//handango...
	//string += '<tr><td WIDTH="100%" COLSPAN="2" class="small">';  
	//string += '<center><br><font size ="-10">';

	//draw buttons here...
	string += '<center><a href="https://minibrand.handango.com/minibrand/basket.jsp?addItem=' +  handangoID +'&siteId=1644&bNav=1&continueUrl=http://www.birdsoft.biz"><img src="images/buynow07.gif" border=0></a>';
	string += '<a href="https://minibrand.handango.com/minibrand/basket.jsp?siteId=1644&bNav=1&continueUrl=http://www.birdsoft.biz"><img src="images/cart07.gif" border=0></a></center><br>';


	//string += '</font></center>';
	//string += '</td></tr>';
	//string += '<tr><td align=right valign=top class="small"><center><b>Only $' + amount + '</b></center></td></tr>';
	string += '<center><b>Only $' + amount + '</b></center>';
	//string += '<tr><td align=right valign=top class="small">Powered by <img src="images//hglil1.gif" border=0></td></tr>';

	//string += '<tr><td align=right valign=top class="small"><br><center><a href="javascript:SwapShoppingCart()"><img src="images//switchtopaypal2.GIF" border=0></a></center></td></tr>';
   }

   else //either "mobihand" or null
    {
    	//MobiHand
	//string += '<tr><td WIDTH="100%" COLSPAN="2" class="small">';  
	//string += '<center><br><font size ="-10">';

	//draw buttons here...
	string += '<center><a href="https://www.mobihand.com/cart1.asp?posid=175&pid=' +  mobihandID + '"><img src="images/buynow07.gif" border=0></a>';
	string += '<a href="https://www.mobihand.com/cart1.asp?posid=175"><img src="images/cart07.gif" border=0></a></center><br>';


	//string += '</font></center>';
	//string += '</td></tr>';
	//string += '<tr><td align=right valign=top class="small"><center><b>Only $' + amount + '</b></center></td></tr>';
	string += '<center><b>Only $' + amount + '</b></center>';
	//string += '<tr><td align=right valign=top class="small">Powered by <img src="images//mhlil1.gif" border=0></td></tr>';

	//string += '<tr><td align=right valign=top class="small"><br><center><a href="javascript:SwapShoppingCart()"><img src="images//switchtopaypal2.GIF" border=0></a></center></td></tr>';
   }

   document.write(string);

}

function SwapShoppingCart()
{
  	var carttype = GetPersonalizedCart();

	if(carttype == "Paypal")
	{
		setPersonalizedCart("Mobihand");
	}
	else if(carttype == "Handango")
	{
		setPersonalizedCart("Paypal");
	}
	else if(carttype == "Mobihand")
	{
		setPersonalizedCart("Paypal");
	}
	else
	{
		//wasnt set... so default is (Handango... swap to Paypal)
		//6/2/06 - You Moron!!!
		setPersonalizedCart("Paypal");
	}

	window.location.reload()
}

function setShoppingCart()
{
	//just setting to a value
	SetChangedCart("Dog");

	var cart = document.scart.CartChoice.options[document.scart.CartChoice.selectedIndex].value;

	setPersonalizedCart(cart);
}

function drawShoppingCartChoice()
{
  	var string = "";

  	var carttype = GetPersonalizedCart();


	//  if(carttype == null)
	//	carttype = "";

	if(navigator.cookieEnabled != true)
	{
		string += "Cookies must be enabled to choose your Shopping Cart";
  		document.write(string);
	 
		return;
	}
 	
	var changedCArt = GetChangedCart();


  	string += "<form name='scart'>";
  	string += "<center><table border=0 width=140>";

	string += "<tr><td colspan=2>";
	string += "<font size='-3' color='#000000'>Choose Shopping Cart:</font><br>";
        string += "</td></tr>";

	string += "<tr><td>";
	string += "<select name='CartChoice' size='1'>";

	string += "<option value='Paypal'><font size='-3'>Paypal</font></option>";
	string += "<option value='Mobihand'><font size='-3'>MobiHand</font></option></select>";
	string += "<option value='Handango'><font size='-3'>Handango</font></option></select>";
	string += "</td><td width=30>";
	
	string += "<img src='clear.gif' height=8 width=10><br><input type=Image src='images//submitbtn.gif'  width='20' height='20' onclick='javascript:setShoppingCart()'>";

	string += "<br><br>";
	
	if(carttype == "Handango")
	{
		string += '<tr><td colspan=2 align=right valign=top class="small">  <hr size=1 width=100% color="#D7D7D7" noshade><br>Currently Powered by <img src="images//hglil1.gif" border=0></td></tr>';
	}
	else if(carttype == "Mobihand")
	{
		string += '<tr><td colspan=2 align=right valign=top class="small">  <hr size=1 width=100% color="#D7D7D7" noshade><br>Currently Powered by <img src="images//mhlil2.gif" border=0></td></tr>';
	}
	else
	{
		string += '<tr><td colspan=2 align=right valign=top class="small"><hr size=1 width=100% color="#D7D7D7" noshade><br>Currently Powered by <img src="images//pplil1.gif" border=0></td></tr>';	
	}
	string += "</td></tr></table></center>";
	string += "</form>";

  	document.write(string);
}

function drawSwitchShoppingCart()
{
  var string = "";

  var carttype = GetPersonalizedCart();


//  if(carttype == null)
//	carttype = "";

// just switch the if and else statements to the opposite if you want Handango to be default -make sure to switch in a 'available at' too

   if (carttype == "Paypal")
   {
	//Paypal....
	string += '<center>Powered by <br><br><img src="images//pplil2.gif" border=0></center>';
	string += '<br><center><a href="javascript:SwapShoppingCart()"><img src="images//usemh.gif" border=0></a></center>';
    }
   else if (carttype == "Handango")
   {
	//Handango....
	string += '<center>Powered by <br><br><img src="images//hglil2.gif" border=0></center>';
	string += '<br><center><a href="javascript:SwapShoppingCart()"><img src="images//usepp.gif" border=0></a></center>';
    }
   else //either "Mobihand" or null
    {
	string += '<center>Powered by <br><br><img src="images//mhlil2.gif" border=0></center>';

	string += '<br><center><a href="javascript:SwapShoppingCart()"><img src="images//usepp.gif" border=0></a></center>';
   }

   document.write(string);

}


function drawAvailableAt(handangoID,pocketgearID,clickgamerID,esellerateID,paypalName,paypalNumber,paypalAmount,mobihandID,smartphoneID,tempID) 
{
  var string = "<center>";

  var carttype = GetPersonalizedCart();


//  if(carttype == null)
//	carttype = "";


   if(clickgamerID != null)
   {
	string += '<a href="http://www.clickgamer.com/moreinfo.htm?pid=' + clickgamerID + '&section=PPC"><img src="images/cgattempt1c.gif" border=0 ></a><br><br>';
   }


   if (carttype == "Paypal")
   {
	if(handangoID != null)
        {
   		//string += '<a href="http://www.handango.com/affiliate/PlatformProductDetail.jsp?siteId=1&programId=52&affiliateId=689&productId=' + handangoID + '"><img src="images/hgattempt1c.gif" border=0></a><br><br>';
		
		//new one.. do I need affiliate to make it work though?
		//string += '<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&siteId=1&platformId=2&affiliateId=689&productId=' + handangoID + '"><img src="images/hgattempt1c.gif" border=0></a><br><br>';
		
		//this should probably use the shopping cart anyway...
   		string += '<a href="https://minibrand.handango.com/minibrand/basket.jsp?addItem=' + handangoID + '&siteId=1644&bNav=1&continueUrl=http://www.birdsoft.biz"><img src="images/hgattempt1c.gif" border=0></a><br><br>';
		
        }
 
 	if(mobihandID != null)
        {
   	     string += '<a href="http://www.mobihand.com/product.asp?id=' + mobihandID + '"><img src="images/mhattempt1c.gif" border=0 ></a><br><br>';
        }

  }
   else if (carttype == "Handango")
   {
  	//handango...

	//so no handango tag
	if(paypalName != null)
        {
		string += '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">';
		string += '<input type="hidden" name="cmd" value="_xclick">';
		string += '<input type="hidden" name="business" value="brian@birdsoft.net">';
		string += '<input type="hidden" name="item_name" value="' + paypalName + '">';
		string += '<input type="hidden" name="item_number" value="' + paypalNumber + '">';
		string += '<input type="hidden" name="amount" value="' + paypalAmount + '">';
		string += '<input type="hidden" name="no_shipping" value="1">';
		string += '<input type="hidden" name="return" value="http://www.birdsoft.net/paythanks.htm">';
		string += '<input type="hidden" name="cancel_return" value="http://www.birdsoft.net">';
		string += '<input type="image" src="images/ppattempt1c.gif" border="0" name="submit" alt="Paypal">';
		string += '</form>';

	}

 	if(mobihandID != null)
        {
   	     string += '<a href="http://www.mobihand.com/product.asp?id=' + mobihandID + '"><img src="images/mhattempt1c.gif" border=0 ></a><br><br>';
        }
   }
   else //either "Mobihand" or null
   {
	if(handangoID != null)
        {
   		//string += '<a href="http://www.handango.com/affiliate/PlatformProductDetail.jsp?siteId=1&programId=52&affiliateId=689&productId=' + handangoID + '"><img src="images/hgattempt1c.gif" border=0></a><br><br>';
		
		//new one.. do I need affiliate to make it work though?
		//string += '<a href="http://www.handango.com/PlatformProductDetail.jsp?siteId=1&siteId=1&platformId=2&affiliateId=689&productId=' + handangoID + '"><img src="images/hgattempt1c.gif" border=0></a><br><br>';
		
		//this should probably use the shopping cart anyway...
   		string += '<a href="https://minibrand.handango.com/minibrand/basket.jsp?addItem=' + handangoID + '&siteId=1644&bNav=1&continueUrl=http://www.birdsoft.biz"><img src="images/hgattempt1c.gif" border=0></a><br><br>';
		
        }

	//so no handango tag
	if(paypalName != null)
        {
		string += '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">';
		string += '<input type="hidden" name="cmd" value="_xclick">';
		string += '<input type="hidden" name="business" value="brian@birdsoft.net">';
		string += '<input type="hidden" name="item_name" value="' + paypalName + '">';
		string += '<input type="hidden" name="item_number" value="' + paypalNumber + '">';
		string += '<input type="hidden" name="amount" value="' + paypalAmount + '">';
		string += '<input type="hidden" name="no_shipping" value="1">';
		string += '<input type="hidden" name="return" value="http://www.birdsoft.net/paythanks.htm">';
		string += '<input type="hidden" name="cancel_return" value="http://www.birdsoft.net">';
		string += '<input type="image" src="images/ppattempt1c.gif" border="0" name="submit" alt="Paypal">';
		string += '</form>';

	}
   }

   if(pocketgearID != null)
   {
   	string += '<a href="http://www.pocketgear.com/software_detail.asp?id=' + pocketgearID + '&associateid=84"><img src="images/pgattempt1c.gif" border=0 ></a><br><br>';
   }

   if(esellerateID != null)
   {
   	string += '<a href="http://store.eSellerate.net/s.asp?s=STR1579832368&Cmd=BUY&SKURefnum=' + esellerateID + '"><img src="images/esattempt1c.gif" border=0 ></a><br><br>';
   }

   if(smartphoneID != null)
   {
   	string += '<a href="http://www.smartphone.net/software_detail.asp?id=' + smartphoneID + '&associateid=84"><img src="images/spattempt1c.gif" border=0 ></a><br><br>';
   }


   string += "</center>";

   document.write(string);

}


function drawCopyright()
{
   var string = "";

   string += "<font size='-2'>© 2000-2012";
   string += " - Birdsoft LLC</font>";
  
   document.write(string);

}

function drawFeaturedSoftware()
{
   var string = "";

//   string += "<center><img src='images/bat2.gif'><br><br>..::<a href='batwatch.htm'>BatteryWatch</a>::..<br><br>Freeware <br>Battery Monitor";
//   string += "<center><a href='http://www.pocketpcmag.com/nustore/asp/aftrack.asp?id=168'><img src='images/ppcmag_120x120.gif' border=0></a><br>The Definitive Source <br>on Pocket PCs and Smartphones<br><br></center>";
//   string += "<center><a href='project.htm'><img src='images/prjboxshot1.jpg' border=0 height=65 width=55' border=0></a><br><br><b>Project-ing</b> <br><br> Innovative Project Management!<br><br></center>";
//   string += "<center><a href='listwatch.htm'><img src='images/lwboxshot1b.JPG' border=0 height=65 width=55' border=0></a><br><br><b>ListWatch 2.0</b> <br><br> Now In VGA!<br><br></center>";
   string += "<center><a href='exagenda.htm'><img src='images/xath4x.gif' border=0 height=67 width=50' border=0></a><br><br><b>NEW - Extreme Agenda</b> <br><br> Windows Mobile Smartphone!<br><br></center>";

   document.write(string);

}

function drawRightAd()
{
   var string = "";

   string += "<br>";
   string += "<center><a href='http://www.handango.com/affiliate/PlatformProductDetail.jsp?programId=52&affiliateId=689&productId=47823'><img src='images/devildarts1.gif' border=0></a></center>";
   string += "<br>";
   string += "<center><a href='http://www.astraware.com'><img src='images/astrabtn1.gif' border=0></a></center>";
   string += "<br>";
   string += "<center><a href='http://www.pdamill.com'><img src='images/pdamill1.gif' border=0></a></center>";
 //  string += "<br>";
  // string += "<center><a href='http://www.ldwsoftware.com'><img src='images/ldwbtn1.gif' border=0></a></center>";
   string += "<br><br>";
   string += "<center><a href='http://www.pocketpcmag.com/nustore/asp/aftrack.asp?id=168'><img src='images/ppcmag_120x120.gif' border=0></a></center>";

   string += "<br><br>";


   document.write(string);

}

function drawMailList()
{
   var string = "";

    string += '<center><table  border=0 bordercolor="#483D8B"><tr><td class="small"> <center><form method="post" action="http://www.birdsoft.biz/maillist.cgi" name="emailform">';
    string += '<font color="#ffffff">Email:</font><br><input type=text name=Email size=14><br><br><input type=Image src="images/submitbtn07.gif" border=0>';
    string += ' <br><font color="#ffffff">Sign Up here<br>(Not Shared)</font></center></td></tr></table></center></form>';
    document.write(string);
}

function drawSoftware()
{
   var string = "";

   string += "<b>Top Pocket PC Titles</b><br><ul>";
   string += "<li> 1. <a href='holdem.htm'>All-In Hold 'Em</a><br>";
   string += "<li> 2. <a href='dogateit.htm'>The Dog Ate It</a><br>";
   string += "<li> 3. <a href='fairwaywatch.htm'>FairwayWatch</a><br>";
   string += "<li> 4. <a href='jezzin.htm'>SuperJezzin</a><br>";
   string += "<li> 5. <a href='upmain.htm'>Ulti-Planner</a><br>";
   string += "<li> 6. <a href='pokertimer.htm'>PokerTimer</a><br>";
   string += "<li> 7. <a href='pokerhand.htm'>PokerHand</a><br>";
   string += "<li> 8. <a href='tripeaks.htm'>Tri-Peaks Hand</a><br>";
   string += "<li> 9. <a href='trickhand.htm'>TrickHand Euchre</a><br>";
   string += "<li> 10. <a href='ulticontacts.htm'>Ulti-Contacts</a><br>";
//   string += "<li> 10. <a href='pokersnitch.htm'>PokerSnitch</a><br>";
//  string += "<li>11. <a href='mediawatch.htm'>MediaWatch</a><br>";
//  string += "<li>12. <a href='jezzin.htm'>SuperJezzin</a><br>";
//  string += "<li>13. <a href='vptoday.htm'>V. Poker Today</a><br>";
//  string += "<li>14. <a href='listwatch.htm'>ListWatch</a><br>";
//  string += "<li>15. <a href='crazy8s.htm'>Hand O Crazy 8s</a><br>";
 string += "</ul><br><br>";

   document.write(string);
}

function drawWelcome()
{
   var string = "";

   string += "Welcome to Birdsoft. <br><br> Award Winning Mobile and Desktop Applications and Games.";
  string += "<br><br>";

   document.write(string);
}

function drawRightTop()
{
   var string = "";

   string += "Mobile Excitement&nbsp;";

   document.write(string);
}

function StopWarez()
{      
      var warez = 0;

      if(document.referrer.indexOf("www.ppcwarez.org") != -1)	
	warez = 1;
      if(document.referrer.indexOf("www.mobilesmania.com") != -1)
	warez = 1;
      if(warez == 1)
      {
       var string = "";

       string += "<table border=0 cellpadding=10><tr><td><br><b>Welcome Warez Site Visitor</b><br><img src='images/line1.gif' height=3 width=98%><br><br>";
       string += "I'm very glad you have shown interest in our products. <br><br>Unfortunately by taking advantage of Warez ";
       string += "you are damaging our business for your own personal gain. We've spent months to years of development ";
       string += "on these products and to have some kids give them away is just not fair. Imagine if you didn't get ";
       string += "paid at your job!"; 

       string += "<br><br>And yes we've heard excuses like we just use it to trial the software. Sorry but this is why we offer ";
       string += "a fully functioning trial on all of our products! However you want to justify it to yourself, it is still ";
       string += "stealing and will eventually catch up to you. <i>See how easy we caught you!!</i>"

       string += "<br><br><b>But we're pretty sure you have probably heard this before. So we've taken a different attitude.</b> "; 
       string += "Since you seem to really like our product, how about if you purchase at a discount and pay for that key ";
       string += "that you stole or are considering stealing. Yes, here is a <b><i>discount code</i></b> for our Handango Powered Store. And no ";
       string += "we are not tracking the code to identify you with! We just want you to be able to <b>do the right thing</b> and ";
       string += "are giving you some incentive to do it. So go ahead and purchase with our Handango Powered Store and use ";
       string += "the discount code of 'STOPWAREZ' for a 30% discount on the product. Or better yet, purchase at full price.";

       string += "<br><br>Thanks for stopping by and we hope we got you thinking!";

       string += "<br><br><i>And if you are seeing this message in error we apologize and feel free to use the code as well.</i>";
       string += "<br></td></tr></table>";

       document.write(string);	
      }
}
function drawLinks()
{
   var string = "";

   string += "&nbsp;<img src='images/diamondbullet.gif'>&nbsp;<a href='http://www.birdsoft.biz/forums'>Discussion</a><br><br>";
   string += "&nbsp;<img src='images/diamondbullet.gif'>&nbsp;<a href='index.htm'>Home</a><br>";
   string += "&nbsp;<img src='images/diamondbullet.gif'>&nbsp;<a href='software.htm'>Software</a><br>";
   string += "&nbsp;<img src='images/diamondbullet.gif'>&nbsp;<a href='faq.htm'>FAQ</a><br>";
   string += "&nbsp;<img src='images/diamondbullet.gif'>&nbsp;<a href='about.htm'>About</a><br>";

   document.write(string);	
}

ImageArray = new Array();	
j = 0;

function ShowNextImg()
{
  curImage++;
  if(curImage >= ImageCt)
	curImage = 0;

var name = "ssImg";
var imagename = "images//" + ImageArray[curImage].name;

document.images[name].src = imagename;
}

function ShowPrevImg()
{
  curImage--;
  if(curImage < 0)
	curImage = ImageCt - 1;

var name = "ssImg";
var imagename = "images//"  + ImageArray[curImage].name;

document.images[name].src = imagename;
}

function imagefctn(name)
{
this.name = name;
}

