//<![CDATA[

// - Shopping Cart Queen.js
// This code is copyright 2003- 2007 Christina Hills 
// This code may NOT be used without permission.
// -------------------------------------------------------------------
// -           Shopping Cart Queen PopUnder Cookie Code
// --------------------------------------------------------------------


// cookie code for newsletter signup for shoppingcartqueen.com
// The way this works is that each time a new user comes to the
// site, on whatever page they enter on, they will get a popup
// encouraging them to sign up for the newsletter.  If they don't
// sign up then a cookie is set to wait for 6 hours before popping
// up the window again.  This makes it less annoying so that they
// can surf the site without a popup happening all the time
// If they do signup for the newsletter, then a long term cookie
// is set and they will not get the popup ever again (for 12 years)
	
var expDays = 5000; // number of days the signup cookie should last
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

// this is a 4 hour cookie
var oneexpDays = .25; // number of days the count cookie should last
var oneday = new Date(); 
oneday.setTime(oneday.getTime() + (oneexpDays*24*60*60*1000));			
	
// this is a 200 day cookie
var twohunexpDays = 200; // number of days the count cookie should last
var twohundays = new Date(); 
twohundays.setTime(twohundays.getTime() + (twohunexpDays*24*60*60*1000));


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 getCookieVal(offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
	endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
}

function SetCookie (name, value) {  
	var argv = SetCookie.arguments;  
	var argc = SetCookie.arguments.length;  
	 
	var path = (argc > 2) ? argv[2] : null;  
	var domain = (argc > 3) ? argv[3] : null;  
	var expires = (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" : "");
}
//this DeleteCookie function is not working I don't know why
function DeleteCookie (name) {  
var expnow = new Date(); 
alert('deleting the cookie' + name); 
expnow.setTime (expnow.getTime() - 1);  
alert('exp now is ' + expnow);
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + expnow.toGMTString();
}

function PopTheWin(URL, WIDTH, HEIGHT) {

windowprops = "menubar=yes,toolbar=yes,location=yes,scrollbars=yes,status=yes,resizable=yes,left=0,top=0,width=" + WIDTH + ",height=" + HEIGHT;
// preview = window.open(URL, "preview", windowprops);
window.open(URL, "back", windowprops);
window.focus();
}

function doPopUnder() {
   url = "http://www.marketerschoice.com/app/default.asp?pr=6&id=51500";
   

   width = 790;  // width of window in pixels
   height = 392; // height of window in pixels

   if (screen)
   {
       width = screen.width;
	   height = screen.height;
   }
   
   delay = 2;    // time in seconds before popup opens
   timer = setTimeout("PopTheWin(url, width, height)", delay*1000);
}
// this is another version of the pop under
function doPopUnderImg() { 
  
document.writeln(' <img src="http://www.marketerschoice.com/app/default.asp?pr=6&id=51500" height=1 width=3>');
document.writeln(' <img src="http://instantTeleseminar.com/orderPage.asp?x=1355507" height=1 width=3> ');
document.writeln(' <img src="http://members.audiogenerator.com/specialinfo.asp?x=154529" height=1 width=3> ');
document.writeln(' <img src="http://members.marketingmakeovergenerator.com/specialinfo.asp?x=428785" height=1 width=3> ');
document.writeln(' <img src="http://www.shareasale.com/r.cfm?b=20760&u=176899&m=3655&urllink=&afftrack=" height=1 width=3> ');
document.writeln(' <img src="http://www.askdatabase.com/cmd.asp?AF=334680" height=1 width=3> ');
document.writeln(' <img src="http://www.aweber.com/?201348" height=1 width=3> ');

}


function doPopUnderKickstart() { 
  
document.writeln(' <img src="http://www.kickstartcart.com/app/default.asp?pr=31&id=33446" height=1 width=3>');
}

function doPopUnderProfCS() { 
  
document.writeln(' <img src="http://www.profcs.com/app/?pr=33&id=68467a" height=1 width=3>');
}

// <body onLoad="myInit();">
function myInit() {

   // these are functions to call when we load
   // do the pop under
 // myPopUnder();
   //checkDemo();
   
// the pop under is now working with an image tag
   
   // disable right click
   myclick();

}

function myPopUnder() {
// this does the shopping cart pop under

	var count = GetCookie('count');
	
	if (count == null) {
	  count=1;
	 // alert(' count is null');
	  SetCookie("count", count, "/", "shoppingcartqueen.com", oneday);
	   doPopUnder();
	  //doPopUnderImg();
	     
	}
	else {

	 //alert('  count is' + count);
	 //alert(' coockie expires on ' + oneday);
   }

}

// Strategic Popup Code
function popWin(){
var ppl="popLayer";var objppl=findObj(ppl);
if (objppl==null){return;}// if the layer does not exist, do nothing.

var args=arguments,movetoX=parseInt(args[0]),movetoY=parseInt(args[1]),movespeed=parseInt(args[2]);
var cycle=10,pxl="";

if (allowpop != 0) {


if(!document.layers){objppl=objppl.style;}
if(objppl.tmofn!=null){clearTimeout(objppl.tmofn);}
var pplcoordX=parseInt(objppl.left),pplcoordY=parseInt(objppl.top);
var xX=movetoX,yY=movetoY;if((pplcoordX!=movetoX)||(pplcoordY!=movetoY)){
   var moveX=((movetoX-pplcoordX)/movespeed),moveY=((movetoY-pplcoordY)/movespeed);
   moveX=(moveX>0)?Math.ceil(moveX):Math.floor(moveX);movetoX=pplcoordX+moveX;
   moveY=(moveY>0)?Math.ceil(moveY):Math.floor(moveY);movetoY=pplcoordY+moveY;
   if((parseInt(navigator.appVersion)>4||navigator.userAgent.indexOf("MSIE")>-1) && (!window.opera)) {pxl="px";}
   if (moveX!=0){eval("objppl.left='" + movetoX + pxl + "'");}
   if (moveY != 0) {eval("objppl.top = '" + movetoY + pxl + "'");}
   var sFunction = "popWin(" + xX + "," + yY + "," + movespeed+ ")";
   objppl.visibility = "visible";

   objppl.tmofn = setTimeout(sFunction,cycle);
   }
 } // end of if allow pop
}
function findObj(theObj, theDoc){
var p, i, foundObj;
if(!theDoc) theDoc = document;
if((p = theObj.indexOf("?")) > 0 && parent.frames.length)
   {theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);}
if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj && i < theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}

function hideLayer(layername){
layer=findObj(layername);
if(layer.style){layer=layer.style;}
layer.visibility='hidden'; 
}


function checkDemo() {
// check to see if the user had set a cookie for filling out the demo form

	var demo = GetCookie('demo');
	
	if (demo == null) {
	  demo=1;
	// alert(' demo is null they have not signed up');
    window.location = "http://www.shoppingcartqueen.com/examples/demosignup.php";

	}
	else {

	 //alert('  check demo demo is' + demo);
	 //alert(' check demo coockie expires on ' + twohundays);
	 window.location = "http://www.shoppingcartqueen.com/demo/catalog.php";
   }
   
  

}

function checkDemo2() {
// check to see if the user had set a cookie for filling out the demo form

	var demo = GetCookie('demo');
	
	if (demo == null) {
	  demo=1;
	// alert(' demo is null they have not signed up');
    

	}
	else {

	 //alert('  check demo demo is' + demo);
	 //alert(' check demo coockie expires on ' + twohundays);
	 window.location = "http://www.shoppingcartqueen.com/demo/catalog.php";
   }
   
  

}

function checkDemo3() {
// they will get here from an email message
// check to see if the user had set a cookie for filling out the demo form
// this is to protect my catalog upsells page

	var demo = GetCookie('demo');
	
	if (demo == null) {
	  demo=1;
	// alert(' demo is null they have not signed up');
	window.location = "http://www.shoppingcartqueen.com/examples/upsells.php";
	}
	else {

	 //alert('  check demo demo is' + demo);
	 //alert(' check demo coockie expires on ' + twohundays);
   }
   
  

}

function checkDemo4() {
// this is for the home page to see if they  have opted in

	var demo = GetCookie('demo');
	
	if (demo == null) {
	  demo=1;
	// alert(' demo is null they have not signed up');
	allowpop=1;
	}
	else {

	 //alert('  check demo demo is' + demo);
	 //alert(' check demo coockie expires on ' + twohundays);
   }
   
  

}

function setDemo() {
// set that the user has already signed up
	var demo = GetCookie('demo');
	
	if (demo == null) {
	  demo=1;
	 //alert(' setting demo demo is null');
	  SetCookie("demo", demo, "/", "shoppingcartqueen.com", twohundays);	 
	}
	else {

	 //alert('  set demo demo is' + demo);
	 //alert(' coockie expires on ' + twohundays);
   }
   return true;
}

function setHomePageA() {
// set that the user has already signed up
	var homepagea = GetCookie('homepagea');
	
	if (homepagea == null) {
	  homepagea=1;
	  homepageb=0;
	 //alert(' setting demo demo is null');
	  SetCookie("homepagea", homepagea, "/", "shoppingcartqueen.com", twohundays);	 
	  SetCookie("homepageb", homepageb, "/", "shoppingcartqueen.com", twohundays);	 
	}
	else {

	 //alert('  set demo demo is' + demo);
	 //alert(' coockie expires on ' + twohundays);
   }
   return true;
}

function setHomePageB() {
// set that the user has already signed up
	var homepageb = GetCookie('homepageb');
	
	if (homepageb == null) {
	  homepageb=1;
	  homepagea=0;
	 //alert(' setting demo demo is null');
	  SetCookie("homepageb", homepageb, "/", "shoppingcartqueen.com", twohundays);	 
	  SetCookie("homepagea", homepagea, "/", "shoppingcartqueen.com", twohundays);	 
	}
	else {

	 //alert('  set demo demo is' + demo);
	 //alert(' coockie expires on ' + twohundays);
   }
   return true;
}

function setSignupCookie() {

	var signup = GetCookie('signup');
	if (signup == null) {
	  signup=1;
	 // alert(' they never signed up');
	  SetCookie("signup", signup, "/", "shoppingcartqueen.com", exp);
	// alert(' exp is ' + exp);

	}
	else {
	 
	
	 // alert('they already signed up ');
   }
   return true;
}

// Subscription Rocket Stuff



function remotePop() {
   var srl33t_id = "942";

	// fixing to avoid conflicts with other services
	// using the id tag
	
	if ( typeof srl33t_id != "undefined" ) {
	
		this_id = srl33t_id;

	}
	else {
	
		this_id = id;
	
	}

	//URL of Script
	var display="http://www.SubscriptionRocket.com/perl-bin/echo?CID=" + this_id;

	//Prevent Multiple Popups
	var expiration = 3600;

	//Cookie to set
	var pop_cookie = "CID=" + this_id;
	
	//Centering Stuff
   	if (document.all) {
        	var xMax = screen.width, yMax = screen.height;
   	}
   	else 
   	if (document.layers) {
            var xMax = window.outerWidth, yMax = window.outerHeight;
        }
        else {
            var xMax = 640, yMax=480;
	}
    	var xOffset = (xMax - 520)*0.5, yOffset = (yMax - 410)*0.1;
	

	if (document.cookie.search(new RegExp(pop_cookie)) == -1) {
		var cDate = new Date();
		cDate.setSeconds(cDate.getSeconds()+expiration);
		document.cookie = pop_cookie + "; expires="+cDate.toGMTString();

		var win2=window.open(display,'PUW','left=1,right=1,top=0,width=520,height=410,toolbar=no,menubar=no,scrollbars=no,status=no,resizable=no,location=no,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'');
		win2.blur();window.focus();
	}
}


// -------------------------------------------------------------------
// -           External Functions Code
// --------------------------------------------------------------------
	
			
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


// -------------------------------------------------------------------
// -           Xtina External Functions Code
// --------------------------------------------------------------------

function xtinatemp() {
document.write('<a href="http://www.industrialego.com/" title="Sales Training Home Page" onMouseover="window.status=\'Sales Training Home Page\'; return true;" "onMouseout="window.status=\'\'; return true;">Home</a>');
}


 // ----------------------------------------------------------------------------------
 
 // make the top navigation bar
function make_navBarCookie(themenu) {

var mycartname = GetCookie('cartname');
var mycartlink = GetCookie('cartlink');


	
	if (mycartname == null) {
	 //alert(' in javascript no cookie was set');
	 var mycartlink = "http://www.marketerschoice.com/app/default.asp?pr=6&id=51500";

	  //SetCookie("demo", demo, "/", "shoppingcartqueen.com", twohundays);	 
	}
	else {

	 //alert('  in javascriipt cartname is ' + mycartname);
	 	 //alert('  in javascriipt cartnamelink is ' + mycartlink);
   }

document.writeln('<ul>');

// Home
if (themenu == "Home")
{
  document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/home.php" onMouseOver="window.status=\'Shopping Cart Queen Home\';return true ;" onMouseout="window.status=\'\'; return true;">Home</a></li>');
}
else {
   document.writeln(' <li><a href="http://www.shoppingcartqueen.com/home.php" onMouseOver="window.status=\'Shopping Cart Queen Home\';return true ;" onMouseout="window.status=\'\'; return true;">Home</a></li>');
 }

 // Products
if (themenu == "Products")
{
document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/products/index.php" onMouseOver=" window.status=\'Audio Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">TeleClass Training</a></li>');
 }
 else {
 document.writeln(' <li><a href="http://www.shoppingcartqueen.com/products/index.php" onMouseOver=" window.status=\'Audio Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;" >TeleClass Training</a></li>');
 }
 

 // Teleseminar Coaching
/* if (themenu == "Teleseminars")
{
document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/teleseminar/index.php" onMouseOver=" window.status=\'Teleseminar Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');
}
else
{
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/teleseminar/index.php" onMouseOver=" window.status=\'Teleseminar Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');
}
*/

// Live Examples
//if (themenu == "Examples")
//{
//document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/examples/demo.php" onMouseOver=" window.status=\'Examples of the Shopping Cart\';return true; " onMouseout="window.status=\'\'; return true;">Live Examples</a></li>');
//}
//else {
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/examples/demo.php" onMouseOver=" window.status=\'Examples of the Shopping Cart\';return true; " onMouseout="window.status=\'\'; return true;">Live Examples</a></li>');

//}

// FAQ
if (themenu == "FAQ")
{
 document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/faq/index.php"   onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');
}
else {
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/faq/index.php"   onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');
}

// Membership Club
//if (themenu == "Club")
// {
// document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/club/" onMouseOver=" window.status=\'Membership Club\';return true; " onMouseout="window.status=\'\'; return true;">Club</a></li>');
// }
// else {
 //document.writeln(' <li><a href="http://www.shoppingcartqueen.com/club/" onMouseOver=" window.status=\'Membership Club\';return true; " onMouseout="window.status=\'\'; return true;">Club</a></li>');
 //}

// Accept Credit Cards
//if (themenu == "Cards")
//{
//document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/cards/" onMouseOver=" window.status=\'Accept Credit Cards\';return true; " onMouseout="window.status=\'\'; return true;">Accept Credit Cards</a></li>');
//}
//else {
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/cards/" onMouseOver=" window.status=\'Accept Credit Cards\';return true; " onMouseout="window.status=\'\'; return true;">Accept Credit Cards</a></li>');
//}

// Blog
if (themenu == "Blog")
{
document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/blog/" onMouseOver=" window.status=\'Blog\';return true; " onMouseout="window.status=\'\'; return true;">Blog</a></li>');
}
else {
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/blog/" onMouseOver=" window.status=\'Blog\';return true; " onMouseout="window.status=\'\'; return true;">Blog</a></li>');
}




// Services
if (themenu == "Services")
{
document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/services/index.php" onMouseOver=" window.status=\'Services\';return true; " onMouseout="window.status=\'\'; return true;">Services</a></li>');
}
else {
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/services/index.php" onMouseOver=" window.status=\'Services\';return true; " onMouseout="window.status=\'\'; return true;">Services</a></li>');
}
 





 // Free Stuff
 if (themenu == "Teleseminars")
{
document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/freestuff/index.php" onMouseOver=" window.status=\'Free Stuff to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Stuff</a></li>');
}
else
{
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/freestuff/index.php" onMouseOver=" window.status=\'Free Stuff to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Stuff</a></li>');
}


// Podcast
//document.writeln(' <li><a href="http://www.shoppingcartpodcast.com" onMouseOver=" window.status=\'Shopping Cart Podcast\';return true; " onMouseout="window.status=\'\'; return true;" target="_blank">Podcast</a></li>');


// 30 Day Trial
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/signup" onMouseOver=" window.status=\'Sign up for a 30 day Trial\';return true; " onMouseout="window.status=\'\'; return true;" target="_blank">30 Day Trial</a></li>');

document.writeln('</ul>');
 }
 
 // --------------------------------------------------------------------------------
 //<td><a href="#register" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('nav_r8_c2','','images/nav/nav_r8_c2_f2.jpg',1);"><img name="nav_r8_c2" src="images/nav/nav_r8_c2.jpg" width="67" height="12" border="0" alt="" href="#" onclick="alert('To get FREE acess to our WPS Preview Calls, please type-in\nyour First Name and Primary Email address in the opt-in box\nyou see on the right-hand side of this Web page.\n\nPlease do this now!'); return false;" onMouseOver="window.status='Click To Learn More';return true;"></a></td>
 
   // make the top navigation bar
// ---- Top NAV BAR FOR HOMEPAGE ONLY....requires opt in

function make_navBarHome(themenu) {

var mycartname = GetCookie('cartname');
var mycartlink = GetCookie('cartlink');

// check if they filled out the form before
var demo = GetCookie('demo');
	


	
	if (mycartname == null) {
	 //alert(' in javascript no cookie was set');
	 var mycartlink = "http://www.marketerschoice.com/app/default.asp?pr=6&id=51500";

	  //SetCookie("demo", demo, "/", "shoppingcartqueen.com", twohundays);	 
	}
	else {

	 //alert('  in javascriipt cartname is ' + mycartname);
	 	 //alert('  in javascriipt cartnamelink is ' + mycartlink);
   }

  popuptext = "To get FREE access to this website, please type-in your \\n First Name and Primary Email address in the opt-in box \\n you see on the right-hand side of this Web page. \\n \\n Please do this now!";
  
  
document.writeln('<ul>');

// Home
if (themenu == "Home")
{
  document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/index.php" onMouseOver="window.status=\'Shopping Cart Queen Home\';return true ;" onMouseout="window.status=\'\'; return true;">Home</a></li>');
}
else {
   document.writeln(' <li><a href="http://www.shoppingcartqueen.com/index.php" onMouseOver="window.status=\'Shopping Cart Queen Home\';return true ;" onMouseout="window.status=\'\'; return true;">Home</a></li>');
 }

 // Products 
 	if (demo == null) {
	// alert(' demo is null they have not signed up');

     document.writeln(' <li><a href="#" onclick="alert(\' To see my Coaching Program, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Audio Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;" >Products</a></li>');
     }

     else {
      document.writeln(' <li><a href="http://www.shoppingcartqueen.com/products/index.php" onMouseOver=" window.status=\'Audio Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;" >Products</a></li>');
     }

//  Teleseminars


//	if (demo == null) {
	// alert(' demo is null they have not signed up');
/*	document.writeln(' <li><a href="#" onclick="alert(\' To get access to Free Teleseminars, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Teleseminar Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');
	
	}
	else {
	document.writeln(' <li><a href="http://www.shoppingcartqueen.com/teleseminar/index.php" onMouseOver=" window.status=\'Teleseminar Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');

   }

*/


// Live Examples

//if (demo == null) {
//document.writeln(' <li><a href="#" onclick="alert(\' To see Live Examples of the Shopping Cart, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Examples of the Shopping Cart\';return true; " onMouseout="window.status=\'\'; return true;">Live Examples</a></li>');
//}
//	else {
//	document.writeln(' <li><a href="http://www.shoppingcartqueen.com/examples/demo.php" onMouseOver=" window.status=\'Examples of the Shopping Cart\';return true; " onMouseout="window.status=\'\'; return true;">Live Examples</a></li>');
 //  }
   
   
   // FAQ
if (themenu == "FAQ")
{
 document.writeln(' <li><a class="current" href="http://www.shoppingcartqueen.com/faq/index.php"   onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');
}
else {
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/faq/index.php"   onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');
}


   // Membership Club
if (demo == null) {
document.writeln(' <li><a href="#" onclick="alert(\' To Find Out How You Can Join My Shopping Cart Membership Club, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Membership Club\';return true; " onMouseout="window.status=\'\'; return true;">Membership Club</a></li>');
}
	else {
	document.writeln(' <li><a href="http://www.shoppingcartqueen.com/club/index.php" onMouseOver=" window.status=\'Membership Club\';return true; " onMouseout="window.status=\'\'; return true;">Membership Club</a></li>');
   }
   
   
// Accept Credit Cards   
if (demo == null) {
document.writeln(' <li><a href="#" onclick="alert(\' To Find Out How You Can Start Accepting Credit Cards, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Accept Credit Cards\';return true; " onMouseout="window.status=\'\'; return true;">Accept Credit Cards</a></li>');
}
	else {
	document.writeln(' <li><a href="http://www.shoppingcartqueen.com/cards/index.php" onMouseOver=" window.status=\'Accept Credit Cards\';return true; " onMouseout="window.status=\'\'; return true;">Accept Credit Cards</a></li>');
   }
   




 // Services
 //if (demo == null) {
//document.writeln(' <li><a href="#" onclick="alert(\' To Find Out How We can Help You Get Setup, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Services\';return true; " onMouseout="window.status=\'\'; return true;">Services</a></li>');
//}
//	else {
//	document.writeln(' <li><a href="http://www.shoppingcartqueen.com/services/index.php" onMouseOver=" window.status=\'Services to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Services</a></li>');
//   }
   


 
 // FAQ
 // 	if (demo == null) {
	// alert(' demo is null they have not signed up');
	

//document.writeln(' <li><a href="#" onclick="alert(\' To read the Frequently Asked Questions, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');
//}

//	else {

//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/faq/index.php"   onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');
//}

// Free Teleseminar  
if (demo == null) {
document.writeln(' <li><a href="#" onclick="alert(\' To Get Access to the Free Teleseminar, please type-in your \\n First Name and Primary Email address \\n in the opt-in box you see below. \\n \\n Please do this now!\'); return true;" onMouseOver=" window.status=\'Free Teleseminar\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');
}
	else {
	document.writeln(' <li><a href="http://www.shoppingcartqueen.com/teleseminar/index.php" onMouseOver=" window.status=\'Free Teleseminar\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');
   }
   



// 30 Day Trial (custom to each private label)
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/signup" onMouseOver=" window.status=\'Sign up for a 30 day Trial\';return true; " onMouseout="window.status=\'\'; return true;" target="_blank">30 Day Trial</a></li>');

document.writeln('</ul>');
}

//// OLD ---------------------------------------------------------
 
  // make the top navigation bar
function make_navBar(adtracker) {

document.writeln('<ul>');

// Home
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/home.php" onMouseOver="window.status=\'Shopping Cart Queen Home\';return true ;" onMouseout="window.status=\'\'; return true;">Home</a></li>');

 // Products
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/products/index.php" onMouseOver=" window.status=\'Audio Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;" >Products</a></li>');

 // FAQ
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/faq/index.php"   onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');

 
 // Teleseminar Coaching
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/teleseminar/index.php" onMouseOver=" window.status=\'Teleseminar Coaching to Help You Get Started\';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');

// Accept Credit Cards
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/cards/" onMouseOver="window.status=\'Do you need to Accept Credit Cards \' ; return true;" onMouseOut=" window.status=\'\'; return true;">Accept Credit Cards</a></li>');

// Live Examples
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/examples/demo.php" onMouseOver=" window.status=\'Examples of the Shopping Cart\';return true; " onMouseout="window.status=\'\'; return true;">Live Examples</a></li>');

// Membership Club
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/club/" onMouseOver="window.status=\'Join My Membership Club \' ; return true;" onMouseOut=" window.status=\'\'; return true;">Join My Membership Club</a></li>');

 


// Services
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/services/index.php" onMouseOver=" window.status=\'Services\';return true; " onMouseout="window.status=\'\'; return true;">Services</a></li>');
 
// Demo
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/examples/demo.php" onMouseOver=" window.status=\'Live Demo of the Shopping Cart\';return true; " onMouseout="window.status=\'\'; return true;">Live Demo</a></li>');



// FAQ
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/faq/index.php" onMouseOver="window.status=\'Frequently Asked Questions \';return true; " onMouseout="window.status=\'\'; return true;">F.A.Q.</a></li>');

// FAQ
document.writeln(' <li><a href="http://www.shoppingcartqueen.com/teleseminar/index.php" onMouseOver="window.status=\'Free Teleseminar \';return true; " onMouseout="window.status=\'\'; return true;">Free Teleseminar</a></li>');


// MarketersChoice
//document.writeln(' <li><a href="http://www.marketerschoice.com/app/default.asp?pr=6&id=51500"  target="_blank" onMouseOver="window.status=\'The MarketersChoice ShoppingCart \';return true; " onMouseout="window.status=\'\'; return true;">MarketersChoice</a></li>');


// too many things in the navigation, turn off for now
// Contact
//document.writeln(' <li><a href="http://www.shoppingcartqueen.com/contact/index.php" onMouseOver="window.status=\'Contact\';return true; " onMouseout="window.status=\'\'; return true;">Contact</a></li>');

// 30 Day Trial
document.writeln(' <li><a href="http://www.marketerschoice.com/app/default.asp?pr=6&id=51500" onMouseOver=" window.status=\'Sign up for a 30 Day Trial\';return true; " onMouseout="window.status=\'\'; return true;" target="_blank">30 Day Trial</a></li>');

document.writeln('</ul>');
 }


 // ----------------------------------------------------------------------------------

 // make the bottom footer
function make_footer() {
		
document.writeln('<p class="myaddress">\&copy; 2004-2010 Christina Hills, All Rights Reserved.<br>');
// NO MORE PHONE NUMBER document.writeln('  Phone: (530) 265- 5562 - Pacific.');
document.writeln('  Grass Valley, California, USA.<br>');
document.writeln('  www.ShoppingCartQueen.com </p>');

}

function botNav()

{
   document.writeln('<a href="http://www.shoppingCartQueen.com/index.php">Home</a>  | ');
   
   document.writeln('<a href="http://www.shoppingCartQueen.com/services/index.php">Our Services</a>  | ');
   
   document.writeln('<a href="http://www.shoppingCartQueen.com/examples/index.php">Examples</a>  | ');
   
   document.writeln('<a href="http://www.shoppingCartQueen.com/examples/demo.php">Live Demo</a>  | ');
   
   document.writeln('<a href="http://www.shoppingCartQueen.com/faq.php">F.A.Q.</a>  | ');
 
   document.writeln('<a href="http://www.shoppingCartQueen.com/contact.php">Contact Us</a>   <br>');
   
   // second line
    document.writeln('<a href="http://www.shoppingCartQueen.com/club/">Membership Club</a>  | ');
   document.writeln('<a href="http://www.shoppingCartQueen.com/cards/">Accept Credit Cards</a>  | ');
   document.writeln('<a href="http://www.shoppingCartQueen.com/tools/">Tools</a>  | ');
    document.writeln('<a href="http://www.shoppingCartQueen.com/testimonials/index.php">Testimonials</a>  | ');
   document.writeln('<a href="http://www.shoppingCartQueen.com/policies/privacy.html" target="_blank"> Privacy Policy</a>');
   
   
   //document.writeln(' <a href="#">Privacy Policy</a> <br>');
   
}
 // ----------------------------------------------------------------------------------

function PrintPage(){
   if (window.print) 
    {
       window.print();
    }
    else
    {
       alert("I'm sorry, Your Web Browser does not support this print method. To print, close this window and select File>Print from your drop down menus.");
    }
}

function PrintThisPage(){

  document.writeln(' <font size="5" face="wingdings">&#050;</font><b> <a href="javascript:PrintPage()">Print Page</b></a><br> ');
  }
  
function EmailThisPage() {

 document.writeln(' <font size="4" face="wingdings">&#042;</font>&nbsp; <b>');
 document.writeln( '<A HREF=\'mailto:?Subject=Your Friend Recommended this Page from ShoppingCartQueen.com&body=I highly recommend you read this: ' +document.URL+ '. This page comes from http://www.ShoppingCartQueen.com, the best place for shopping cart and autoresponder tips and information.\'>E-mail  to a Friend</A></b><br>');
}
 // ----------------------------------------------------------------------------------


function newsletterSignupCodeTOPTEN(mystring) {

/* if nothing was passed in */
if (mystring == 0 ) {
  /* alert('mystring is 0'); */
  mystring = "sales training page";
  } 
  /* else we pass the string to aweber to log where this user is
  coming from */
  
// put this here so that we can easily change it across all pages

document.writeln( '<CENTER> <h2><strong><span class="reportcolor">Free Tips:</span><br> <span class="size12"> My Top 10 Tips to Improve Your Shopping Cart System! </span></strong></h2>');


document.writeln( '<form name="formreport" method="post" action="http://www.marketerschoice.com/app/contactsave.asp" onSubmit="setDemo();return populateForm(this)"> ');
document.writeln( '<input name="merchantid" type="hidden" id="merchantid" value="53948">');
document.writeln( '  <input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="http://www.shoppingcartqueen.com/report-thankyou.html">');
document.writeln( '  <input name="copyarresponse" type="hidden" id="copyarresponse" value="1">');
 document.writeln( ' <input name="custom" type="hidden" id="custom" value="1">');
document.writeln( '  <input name="ar" type="hidden" id="defaultar" value="73742">');
document.writeln( '  <input name="allowmulti" type="hidden" id="allowmulti" value="1">');
document.writeln( '  <input name="visiblefields" type="hidden" id="visiblefields" value="Name,Email1">');
document.writeln( '  <input name="requiredfields" type="hidden" id="requiredfields" value="Name,Email1">');
document.writeln( '  <input type="hidden" name="AR" value="72032">');
 document.writeln( ' <input type="hidden" name="AR" value="72036">');
 document.writeln( ' <input type="hidden" name="fieldname1" value="Internal Comment">');
 document.writeln( ' <input type="hidden" name="required1" value="1">');
 document.writeln( ' <input type="hidden"  name="field1" value="Free Report-Sign Up Box">');
document.writeln( '  <input type="hidden" name="fieldname2" value="Sign Up URL">');
 document.writeln( ' <input type="hidden" name="required2" value="1">');
 document.writeln( ' <input type="hidden" name="field2" value="currentURL">');
 document.writeln( ' <input type="hidden" name="fieldname3" value="Date Joined">');
 document.writeln( ' <input type="hidden" name="required3" value="1">');
 document.writeln( ' <input type="hidden" name="field3"  value="today">');


document.writeln( '<TABLE width="90%">');

document.writeln( '<TR><TD class="smalllink"><div align="right">Name: </div></TD><TD><input TYPE="text" name="Name" size="12" class="boxdrop"></TD></TR>');

document.writeln( '<TR><TD class="smalllink"><div align="right">Email:</div></TD><TD><input TYPE="text" name="Email1" size="12" class="boxdrop"></TD></TR>');
document.writeln( '<TR>');
document.writeln( '<TD>&nbsp;</TD>');
document.writeln( '<TD class="smalllink"><INPUT TYPE="SUBMIT" NAME="submit" VALUE="Send it" class="boxdrop"></TD>');
document.writeln( '</TR>');
document.writeln( '<TR>');
document.writeln( '<TD>&nbsp;</TD>');
document.writeln( '<TD class="smalllink">');
document.writeln( '<a class="smalllink" target="_blank" href="http://www.shoppingcartqueen.com/policies/privacy.html" onMouseover="window.status=\'Click for privacy policy\'; return true;" onMouseout="window.status=\'\'; return true;">your privacy</a>');
document.writeln( '</TD>');
document.writeln( '</TR>');
document.writeln( '<TR>');
document.writeln( '<TD colspan="2" class="smalllink">');
document.writeln( '<p> <i>You will get my special report in your email, <br> plus occasional updates and tips from me.</i> </p>');
document.writeln( '</TD>');
document.writeln( '</TR>');
document.writeln( '</TABLE>');
document.writeln( '</FORM></CENTER>');
document.writeln( '<p>');

document.writeln( '</p>');
}

/* ---------------------------------------------------------------------*/
/* side bar sign up box */
function newsletterSignupCode(mystring) {

var mycartname = GetCookie('cartname');


/* if nothing was passed in */
if (mystring == 0 ) {
  /* alert('mystring is 0'); */
  mystring = "shopping cart queen";
  } 
  /* else we pass the string to aweber to log where this user is
  coming from */
  
// put this here so that we can easily change it across all pages

document.writeln( '<CENTER> <h2><strong><span class="reportcolor">Free Tips:</span><br> <span class="size12"> My Top 10 Tips to Improve Your Shopping Cart! </span></strong></h2>');


document.writeln( '<form name="formreport" method="post" action="http://www.marketerschoice.com/app/contactsave.asp" onSubmit="setDemo();return populateForm(this)"> ');
document.writeln( '<input name="merchantid" type="hidden" id="merchantid" value="53948">');
document.writeln( '  <input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="http://www.shoppingcartqueen.com/thankyou-tips.php">');
document.writeln( '  <input name="copyarresponse" type="hidden" id="copyarresponse" value="1">');
 document.writeln( ' <input name="custom" type="hidden" id="custom" value="1">');
document.writeln( '  <input name="ar" type="hidden" id="defaultar" value="131885">');
document.writeln( '  <input name="allowmulti" type="hidden" id="allowmulti" value="1">');
document.writeln( '  <input name="visiblefields" type="hidden" id="visiblefields" value="Name,Email1">');
document.writeln( '  <input name="requiredfields" type="hidden" id="requiredfields" value="Name,Email1">');
document.writeln( '  <input type="hidden" name="AR" value="72032">');
document.writeln( '  <input type="hidden" name="AR" value="73742">');
 document.writeln( ' <input type="hidden" name="fieldname1" value="Internal Comment">');
 document.writeln( ' <input type="hidden" name="required1" value="1">');
 document.writeln( ' <input type="hidden"  name="field1" value="Sidebar -Sign Up Box">');
document.writeln( '  <input type="hidden" name="fieldname2" value="Sign Up URL">');
 document.writeln( ' <input type="hidden" name="required2" value="1">');
 document.writeln( ' <input type="hidden" name="field2" value="currentURL">');
 document.writeln( ' <input type="hidden" name="fieldname3" value="Date Joined">');
 document.writeln( ' <input type="hidden" name="required3" value="1">');
 document.writeln( ' <input type="hidden" name="field3"  value="today">');
 document.writeln( ' <input type="hidden" name="fieldname5" value="Cart">');
 document.writeln( ' <input type="hidden" name="required5" value="1">');
 document.writeln( ' <input type="hidden" name="field5"  value="' + mycartname + '">');

 
document.writeln( '<TABLE width="90%">');

document.writeln( '<TR><TD class="smalllink"><div align="right">Name: </div></TD><TD><input TYPE="text" name="Name" size="12" class="boxdrop"></TD></TR>');

document.writeln( '<TR><TD class="smalllink"><div align="right">Email:</div></TD><TD><input TYPE="text" name="Email1" size="12" class="boxdrop"></TD></TR>');
document.writeln( '<TR>');
document.writeln( '<TD>&nbsp;</TD>');
document.writeln( '<TD class="smalllink"><INPUT TYPE="SUBMIT" NAME="submit" VALUE="Send it" class="boxdrop"></TD>');
document.writeln( '</TR>');
document.writeln( '<TR>');
document.writeln( '<TD>&nbsp;</TD>');
document.writeln( '<TD class="smalllink">');
document.writeln( '<a class="smalllink" target="_blank" href="http://www.shoppingcartqueen.com/policies/privacy.html" onMouseover="window.status=\'Click for privacy policy\'; return true;" onMouseout="window.status=\'\'; return true;">your privacy</a>');
document.writeln( '</TD>');
document.writeln( '</TR>');
document.writeln( '<TR>');
document.writeln( '<TD colspan="2" class="smalllink">');
document.writeln( '<p> <i>You will get my tips in your email, plus occasional updates from me.</i> </p>');
document.writeln( '</TD>');
document.writeln( '</TR>');
document.writeln( '</TABLE>');
document.writeln( '</FORM></CENTER>');
document.writeln( '<p>');

document.writeln( '</p>');
}

 // ----------------------------------------------------------------------------------

function todaysDate() {

/*Current date script credit: 
JavaScript Kit (www.javascriptkit.com)
Over 200+ free scripts here!

Modified by Christina Hills
*/
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");

var mydate=new Date();
var year=mydate.getYear();

var day=mydate.getDay();
var month=mydate.getMonth();
var daym=mydate.getDate();

var thedaytodayis = "";

	if (year < 1000)
	   year+=1900;
	   
	if (daym<10)
	   daym="0"+daym;

    thedaytodayis = " " + dayarray[day] + ", " + montharray[month] + " " + daym + ", " + year; 
	
	
	return (thedaytodayis);

}



function populateForm(passFormName) {
    // this will put in the hidden fields to the 1shoppingcart form
	passFormName.field2.value = window.location;
	
	passFormName.field3.value = todaysDate();
	return true;
}

function populateFormFork(passFormName) {
    // this will put in the hidden fields to the 1shoppingcart form
	passFormName.field2.value = window.location;
	
	passFormName.field3.value = todaysDate();
	
	passFormName.ARThankyouURL.value = 'http://www.google';
	//alert(' the AR is' + passForName.ar.value);
	
	return true;
}


 // ----------------------------------------------------------------------------------

function array () {}

function initializeOrderQuesionaireForm() {
    // this will put in the initial fields of the order form options
	
	//alert('in initialize order form');
	numOrderOpt = 18;
	//alert('number order opt is ' + numOrderOpt);
	// orderOptions is a global variable
	orderOptions = new array();
	
	for (i = 0; i < numOrderOpt; ++i) {
	   orderOptions[i] = new array();
	}
	//alert(' just made arrays');
	orderOptions[0][0] = "Where did you hear about us field";
	orderOptions[0][1] = "No";
	//alert('orderoptions 0 = ' + orderOptions[0][0]);
	//alert('orderoptions 1 = ' + orderOptions[0][1]);

	orderOptions[1][0] = "Where did you hear dropdown";
	orderOptions[1][1] = "No";

	orderOptions[2][0] = "Ship To Information";
	orderOptions[2][1] = "No";
	
	orderOptions[3][0] = "Accept Credit Cards";
	orderOptions[3][1] = "No";	
	
	orderOptions[4][0] = "Visa";
	orderOptions[4][1] = "No";
	
	orderOptions[5][0] = "Master Card";
	orderOptions[5][1] = "No";
	
	orderOptions[6][0] = "Discover";
	orderOptions[6][1] = "No";
	
	orderOptions[7][0] = "American Express";
	orderOptions[7][1] = "No";
	
	orderOptions[8][0] = "Diners Club";
	orderOptions[8][1] = "No";
	
	orderOptions[9][0] = "CVV2 Code";
	orderOptions[9][1] = "No";
	
	orderOptions[10][0] = "Birth Date";
	orderOptions[10][1] = "No";
	
	orderOptions[11][0] = "SS Number";
	orderOptions[11][1] = "No";

	orderOptions[12][0] = "Security Image Verification";
	orderOptions[12][1] = "No";

	orderOptions[13][0] = "Show Sales Tax";
	orderOptions[13][1] = "No";
	
	orderOptions[14][0] = "Accept PayPal";
	orderOptions[14][1] = "No";
	
	orderOptions[15][0] = "Pay Pal email";
	orderOptions[15][1] = "No";

	orderOptions[16][0] = "Show Comments-Special Delivery";
	orderOptions[16][1] = "No";
	
	orderOptions[17][0] = "Show Buyer Agreements";
	orderOptions[17][1] = "No";
	

	return true;
}



function populateOrderOptionsForm(passForm) {
   // This will check which fields to put in
	
	myLongString = " ";
	//alert('in populate order form');
	
	for (i = 0; i < numOrderOpt; ++i) {
	    if (orderOptions[i][1] != "No" ) {
		 
		    myLongString += orderOptions[i][0] + ', ';
		 
	    }
	} // end of for loop
	
	alert('The fields you chose are:' +  myLongString);
    passForm.field5.value = myLongString;
		

	return true;
}

function setOrderOption(myIndex) {
   // if the user clicked, then it will set the value
	//alert('in set OrderOptin');
	//alert('myindex is' + myIndex);

	if (orderOptions[myIndex][1]  == "No" ) {
	   orderOptions[myIndex][1] = "Yes";
    }
		// else it has a Yes and we want to change it to No
    else if (orderOptions[myIndex][1]  == "Yes" ) {
	 orderOptions[myIndex][1] = "No";
	}

	//alert('just clicked setting to  ' +  orderOptions[myIndex][1]);

	return true;
}

//function setPayPalAddr(myIndex, myIndexAddr, mythis) {
   // if the user clicked, then it will set the value
	//alert('in set OrderOptin');
//	alert('inset paypal addr');
	
//	if (orderOptions[myIndex][1]  == "No" ) {
//	   orderOptions[myIndex][1] = "Yes";
//    }
		// else it has a Yes and we want to change it to No
 //   else if (orderOptions[myIndex][1]  == "Yes" ) {
//	 orderOptions[myIndex][1] = "No";
//	}


 //   orderOptions[myIndexAddr][1] = mythis;
//	alert('just clicked my this is  to  ' +  mythis;
//
//	return true;
//}

 // ----------------------------------------------------------------------------------

function popPrivacy(privacyFile, mywidth, myheight, mytop, myleft) {
	privacyWin = window.open(privacyFile,"pirivacyWin", "height=" + myheight + ",width=" + mywidth + ",status=0,menubar=0,location=0,resizable=1,titlebar=0,scrollbars=1,top=" + mytop + ",left=100");
}

/*
Disable right mouse click Script 
*/

var message ="\n         © Copyright 2003-2009 by Christina Hills. All Rights Reserved.\n\nMaterial on this website is Copyrighted and may not be used without permission.       \n";
function click(e) {
  if (document.all) {
    if (event.button == 2) {
      alert(message);
      return false;
    }
  }
  if(document.layers) {
    if (e.which == 3) {
     alert(message);
     return false;
     }
    }
} 

if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
}

function myclick() {
document.onmousedown=click;
}



//]]>