//	----------------------------------------------------------------------------
// 	JavaScript For Web Site Developers
//     © 2002 - 2008 Wizard Graphics
// 	http://www.wizard4multimedia.com
//	----------------------------------------------------------------------------
// 	Current Version Information - please do not modify:
//
var webDevVS = "2.1.3"; 			// 	Version Information
var RegID    = "JSwebdev090903EAA";	// 	Your Registration ID
var webDevUD = "January, 2008";		// 	Scripts Last Updated

// 	Set Defaults:

var SiteID       = "Essence Audio Accessories";	// 	Your Registered Web Site Name or Names
var DomainID     = "www.EssenceAudio.com";		// 	Your Registered Domain Name
var copyRdefault = "Essence Audio Accessories";	// 	default © CopyRight Holder Name


// 	Web Site Dev Statements - Note! do not use a mailto URL for the Site Dev URL

var siteDev	= "<b>Wizard Graphics</b>";						// 	Site Maintenance by
var siteDevURL	= "www.wizardgraphics.com.au"; 				// 	Site Dev URL
var siteDevTxt	= "Web Site Designed & Maintained By: ";	// 	Your Selfpromotional Text
var m2name	= "wizard";							// 	m2 name
var m2url	= "wizardgraphics.com.au";			// 	m2 URL


// 	Web Site Disclaimer Statements:
//	----------------------------------------------------------------------------
var webMessage1 = SiteID;
var webMessage2 = "ACN &nbsp; zzzzzzz";
var webMessage3 = "";
var webMessage4 = "PO Box 77, &nbsp;Kallista, Victoria 3791 &nbsp;Australia";
var webMessage5 = "";		// PH
var webMessage6 = "";		// Fax
var webMessage7 = "";		// International
var webMessage8 = "";			// Toll Free
var webMessage9 = 'Phone: ' + webMessage5 + '&nbsp; &nbsp;<br>Fax: ' +webMessage6+ '&nbsp; &nbsp;<br>International: ' +webMessage7;		// Combined Telephony Info Line

var webMessage10 = "<b>On this page: </b>"; // a message
var webMessage11 = " "; // a message
var webMessage12 = " "; // a message
var webMessage13 = " "; // a message
var webMessage14 = " "; // a message
var webMessage15 = " "; // a message


//	----------------------------------------------------------------------------
// 	Launch A Popup Window
//	----------------------------------------------------------------------------
var popUpWin=0;
function MakePopUp(URLStr, scroll, resize, left, top, width, height, wName, wPos){
	if(wName == null || wName == ""){ wName = "popUpWin";}
	var sW = screen.availWidth;
	var trim = 5;
	var sH = screen.availHeight;
	
	if(wPos == null || wPos == ""){ wPos = "R";}
	if(wPos == "R"){								// Right / Default
		var xPos = sW - trim - left - width;
	}
	if(wPos == "L"){								// Left
		var xPos = left;
	}
	if(wPos == "C"){								// Centre
		var xPos = sW/2 - width/2;
	}
	var yPos = top;
	
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, wName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable='+resize+',copyhistory=yes,width='+width+',height='+height+',left='+xPos+', top='+yPos+',screenX='+xPos+',screenY='+yPos+'');
}
//	eg:
//	<script language="JavaScript"><!--
//		MakePopUp('../some.html','yes','no','10','10','300','450','Maps');
	//--></script>


//	----------------------------------------------------------------------------
// 	Convert document.lastModified to "TextMonth DD, YYYY" date format
// 	© 2002 Wizard Graphics - Incept: 2002-06-14
// 	http://www.wizard4multimedia.com
//	----------------------------------------------------------------------------
//
function DocLastUpdated(prefix,dateMode){
	LastUpdate  = document.lastModified;
	LastUpdateM = LastUpdate.substring(0,2);
	LastUpdateD = LastUpdate.substring(3,5);
	LastUpdateY = LastUpdate.substring(6,10);

	if (prefix == null){heading = "Last Updated: ";} else {heading = prefix + " Last Updated: ";}

	if (dateMode == "ANSI"){
		LastUpdate = heading + LastUpdateY +'/'+ LastUpdateM + '/' + LastUpdateD;
	}
	else if (dateMode == "USA"){
		LastUpdate = heading + LastUpdateM +'/'+ LastUpdateD + '/' + LastUpdateY;
	}
	else if (dateMode == "AUS"){
		LastUpdate = heading + LastUpdateD +'/'+ LastUpdateM + '/' + LastUpdateY;
	} else {


			 if (LastUpdateM == "01"){LastUpdateM = "January";}
		else if (LastUpdateM == "02"){LastUpdateM = "February";}
		else if (LastUpdateM == "03"){LastUpdateM = "March";}
		else if (LastUpdateM == "04"){LastUpdateM = "April";}
		else if (LastUpdateM == "05"){LastUpdateM = "May";}
		else if (LastUpdateM == "06"){LastUpdateM = "June";}
		else if (LastUpdateM == "07"){LastUpdateM = "July";}
		else if (LastUpdateM == "08"){LastUpdateM = "August";}
		else if (LastUpdateM == "09"){LastUpdateM = "September";}
		else if (LastUpdateM == "10"){LastUpdateM = "October";}
		else if (LastUpdateM == "11"){LastUpdateM = "November";}
		else {LastUpdateM = "December";}

		LastUpdateM = LastUpdateM + ' '; 
		LastUpdate = heading + LastUpdateM + LastUpdateD + ', ' + LastUpdateY;
	}
	document.write(LastUpdate);
}







// 	Report Copyright Statement with current year
// 	© 2002 Wizard Graphics - Incept: 2002-07-12
//	----------------------------------------------------------------------------

//	var copyRdefault = "my copyright notice";

function GetCopyRight(firstDate,cNotice){

	yearNow  = new Date();
	yearNow  = yearNow.getYear();
	var copyHedr = "&copy; CopyRight "
	if (cNotice == null){cNotice = copyRdefault;}
	if (firstDate == null){
		var copyRight = copyHedr + yearNow + " - " + cNotice;
	} else {
		var copyRight = copyHedr + firstDate + " - " + yearNow + ", " + cNotice;
	}
	document.write(copyRight);
}

//	Paste this into web page where © CopyRight notice is required
//	The firstDate (eg: 2000) can be changed or left as null (eg "").
//	If no copyright notice is inserted the deault value (top of page) will be used.
//
//	<script language="JavaScript"><!--
//		GetCopyRight("2000","Insert Your CopyRight Name Here");
	//--></script>





// 	Site Maintenance Info & Selfpromotion
// 	© 2002 Wizard Graphics - Incept: 2002-07-12  Updated: 2002-07-23
//	----------------------------------------------------------------------------

function showSiteDev(sdTarget,sdMode,sdSubject){
	if (sdTarget == 0 || sdTarget == null){			// Target (frame or Window)
		sdTarget = "_new0";
	}
	if (sdMode == 0 || sdMode == null){				// create web site URL
		devAdv =  siteDevTxt + '<a href="http://' + 
		siteDevURL + '"target="'+sdTarget+'">&nbsp;' + siteDev + '&nbsp;</a>';
	} else {										// create email address
		eName = m2name + '\@';
		if (sdSubject != null){						// create a subject line
			address = 'mailto:' + eName + m2url + '?subject=' + sdSubject + ' - Ref: ' + SiteID;
		} else {
			address = 'mailto:' + eName + m2url;
		}
		devAdv =  siteDevTxt + '<a href="' + address + '">&nbsp;' + siteDev + '&nbsp;</a>';
	}
	document.write(devAdv);
}
//	Paste this into web page where your selfpromotional notice is required
//	Target URL opens in a new window.
//
//	<script language="JavaScript"><!--
//		showSiteDev();
	//--></script>





// 	Web Site Disclaimer / Message Statements
// 	© 2002 Wizard Graphics - Incept: 2002-07-12
//	----------------------------------------------------------------------------
function showMessage(dOption,dHeader){
	if (dHeader == null){
		siteDisclaimer = "<b>DISCLAIMER</b>";
	} else {
		siteDisclaimer = "<b>" + dHeader + "</b>";
	}
	     if (dOption == 1){siteDisclaimer = siteDisclaimer + webMessage1;}
	else if (dOption == 2){siteDisclaimer = siteDisclaimer + webMessage2;}
	else if (dOption == 3){siteDisclaimer = siteDisclaimer + webMessage3;}
	else if (dOption == 4){siteDisclaimer = siteDisclaimer + webMessage4;}
	else if (dOption == 5){siteDisclaimer = siteDisclaimer + webMessage5;}
	else if (dOption == 6){siteDisclaimer = siteDisclaimer + webMessage6;}
	else if (dOption == 7){siteDisclaimer = siteDisclaimer + webMessage7;}
	else if (dOption == 8){siteDisclaimer = siteDisclaimer + webMessage8;}
	else if (dOption == 9){siteDisclaimer = siteDisclaimer + webMessage9;}
	else if (dOption ==10){siteDisclaimer = siteDisclaimer + webMessage10;}
	else if (dOption ==11){siteDisclaimer = siteDisclaimer + webMessage11;}
	else if (dOption ==12){siteDisclaimer = siteDisclaimer + webMessage12;}
	else if (dOption ==13){siteDisclaimer = siteDisclaimer + webMessage13;}
	else if (dOption ==14){siteDisclaimer = siteDisclaimer + webMessage14;}
	else if (dOption ==15){siteDisclaimer = siteDisclaimer + webMessage15;}
	document.write(siteDisclaimer);
}
//	Paste this into web page where your disclaimer notice is required
//
//	<script language="JavaScript"><!--
//		showMessage(1); // The number should match the number of the message you wish to post
	//--></script>





// 	Anti-Spam Tool - Hide web page e-mail addresses from spiders
// 	© 2002 Wizard Graphics - Incept: 2002-05-01
//	----------------------------------------------------------------------------
//

function contact(name,bogus,host,title,subj,prod){
	//if (name == "info" || name == "sales") {var name = "enquiries";} //{var name = "webmaster";}
	//
	var delim = "\@";
	var href   = 'mailto:';
	var recipient = href + name + delim + host;
	if (prod == "none" || prod == null) {var prod = " ";}
	if (subj == "none" || subj == null) {var subj = " ";}
	else if (subj == "prodinfo" && prod != " ") {var subj = "Information Request for Page/Product: " + prod;}
	else if (subj == "prodinfo") {var subj = "Information Request";}
	var emadd = name + delim + host; 

	if (title == "url" || title == null) {
		//var name = "webmaster";
		var title = name + delim + host;    //Displays the mailto URL as the Link Text
		var emtext = '\<a title="Email to: ' + emadd + ' \nSubject: ' + subj +'"  href ="' + recipient + '?subject=' + subj + '">&nbsp;' + title + '&nbsp;</a>';
	} else {    //Displays your provided description as the Link Text
		var emtext = '\<a title="Email to: ' + emadd + ' \nSubject: ' + subj +'"  href ="' + recipient + '?subject=' + subj + '">&nbsp;' + title + '&nbsp;</a>';
	}

	document.write(emtext);
}


// 	E-mail tag for Info Product Pages
//	----------------------------------------------------------------------------
//<script language="JavaScript"><!--
//contact("info","nojunk!","yourdomain.com","url","prodinfo",prodCode);
//--></script>



// 	The Form Mail version of the Anti-Spam Tool
// 	© 2002 Wizard Graphics - Incept: 2002-05-31
//	----------------------------------------------------------------------------
//
function contactForm(name,bogus,host){
	var delim = "\@";
	var sendto = name + delim + host;
	return(sendto);
}
//<script language="JavaScript"><!--
//contactForm("name","nojunk!","yourdomain.com");
//--></script>


//	Mailto Link - Image Version
//	----------------------------------------------------------------------------
function contactPic(name,bogus,host,picURL,picW,picH,picBdr,picVspc,picaltTxt,subj){
	var delim = "\@";
	var href   = 'mailto:';
	var recipient = href + name + delim + host;
	var imgInfo = picURL+'" width="'+picW+'" height="'+picH+'" border="'+picBdr+'" vspace="'+picVspc;

	if (picaltTxt == "" || picaltTxt == null) {	
		var altTxt = "Email to: "+name + delim + host;	//	Create a default alt text
	} else {
		var altTxt = picaltTxt;	//	Use provided alt text
	}
	if (subj == "" || subj == null) {
		var emPicText = '<a href ="' + recipient + '?subject=' + subj + '"><img src="'+ imgInfo +'" alt="' + altTxt + '" ></a>';
	} else {
		var emPicText = '<a href ="' + recipient + '?subject=' + subj + '"><img src="'+ imgInfo +'" alt="' + altTxt + '\nSubject: ' + subj + '" ></a>';
	}
	document.write(emPicText);
}

// 	Image E-mail tag for Info & Product Pages
//	----------------------------------------------------------------------------
//<script language="JavaScript"><!--
//                                              the image url      W     H  Bdr Vspc
//contactPic("info","nojunk!","yourdomain.com","../image_url.jpg","100","25","0","8","The alt text","The Subject Line"){
//--></script>





// 	Link Hider Tools - Hide text & Image link urls from spiders
// 	© 2008 Wizard Graphics - Incept: 2008-01-04
//	----------------------------------------------------------------------------
//
function linkShowTxt(domain,bogus,target,suffix,title,urltext){
	//
	var prefix = "http://www.";
	var newURL = prefix + domain + "." + suffix;
	if (urltext == "" || urltext == null) {var urltext = newURL;}
	var outURL = '<a href='+newURL+' target='+target+' title="'+title+'">'+urltext+'</a>';
	document.write(outURL);
}


function linkShowPic(domain,bogus,target,suffix,picURL,picAlt,picW,picH,picB,Hspace,Vspace){
	//
	var prefix = "http://www.";
	var newURL = prefix + domain + "." + suffix;
	
	var outURL = '<a href="'+newURL+'" target='+target+'><img src="'+picURL+'" alt="'+picAlt+'" width="'+picW+'" height="'+picH+'" hspace="'+Hspace+'" vspace="'+Vspace+'" border="'+picB+'"></a>';
//<a href="http://www.locomotiveart.com/"><img src="images/mPT_FSLA_cvr.JPG" alt="Bla alt" width="210" height="98" border="0"></a>
	document.write(outURL);
}

function setAddStyles(){
	var addstyles = '<style type="text/css"><!--';
	addstyles += '.advStyle01n { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; font-weight: normal; color: #B7104A; }';
	addstyles += '.advStyle01i { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-style: italic; font-weight: normal; color: #B7104A; }';
	addstyles += '.advStyle01b { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; font-weight: bold; color: #B7104A; }';
	addstyles += '.advStyle02n { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-style: normal; font-weight: normal; color: #B7104A; }';
	addstyles += '.advStyle02i { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-style: italic; font-weight: normal; color: #B7104A; }';
	addstyles += '.advStyle02b { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-style: normal; font-weight: bold; color: #B7104A; }';
	//addstyles += '   ';
	addstyles += '--></style>';

	document.write(addstyles);
}



//function randomPicTxt(domain,bogus,target,suffix,altText,picURL,picAlt,picW,picH,picB,Hspace,Vspace){
function advRandomizer(advStyle,advNum,showThis,tableColor,textColor){
	//	Note that content entered for AltText is also used for the Title tag for the text link
	//
	var advVersion = 0;
	//
	if (advNum == 1){
		var domain = "babybingo";		// target domain
		var suffix = "com/";
		var adversions = 9;				// Total number of adv variations
	}
	
	else if (advNum == 2){
		var domain = "baby.cceasy";		// target domain
		var suffix = "com/";
		var adversions = 5;				// Total number of adv variations
	}
	
	else if (advNum == 101){			// Used for image swapping only, NO Links!!
		var adversions = 5;				// Total number of image variations
		
	}
	//
	// Select one of the advertisement versions to display
	// if a parameter (number) is provided for showThis, 
	// that version of the advert will be displayed instead of a random version
	//
	if (showThis > 0){
		// ***********************************
		// Display specific version of advert
		// ***********************************
		if (showThis > adversions || showThis == 0){
		// Handle user input errors
			advVersion = 1;			// pick version 1 of advert
		}
		else {
			advVersion = showThis;	// Display specific version of advert
		}
	
	}
	else {
		// ***********************************
		// Display random version of advert
		// ***********************************
		advVersion = Math.floor(Math.random() * (adversions+1));
		// manage random under/overflow
		if (advVersion > adversions){ advVersion = adversions;} // alert(advVersion);
		if (advVersion < 1){ advVersion = 1;}
		//advVersion = 1
	}
	
//	Advertisement 1 Content Options
/*
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_01_sm.jpg' alt='Click here for favors and games' width='120' height='154' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_02_sm.jpg' alt='Click here for favors and games' width='120' height='165' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_03_sm.jpg' alt='Click here for favors and games' width='120' height='189' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_04_sm.jpg' alt='Click here for favors and games' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_06_sm.jpg' alt='Click here for favors and games' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_07_sm.jpg' alt='Click here for favors and games' width='120' height='178' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_08_sm.jpg' alt='Click here for favors and games' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_09_sm.jpg' alt='Click here for favors and games' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/bada/badababybingo_10_sm.jpg' alt='Click here for favors and games' width='120' height='120' border='1'>"
*/
	if (advNum == 1){
		//
		var picW = "120";	// Image width
		var picB = "1";		// Border Thickness
		//
		if (advVersion == 1){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = 'Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "154";	// Image Height
		}
		else if (advVersion == 2){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#2 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "165";	// Image Height
		
		}
		else if (advVersion == 3){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#3 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "189";	// Image Height
		
		}
		else if (advVersion == 4){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#4 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "120";	// Image Height
		
		}
		else if (advVersion == 5){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#5 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "120";	// Image Height
		
		}
		else if (advVersion == 6){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#6 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "178";	// Image Height
		
		}
		else if (advVersion == 7){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#7 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "120";	// Image Height
		
		}
		else if (advVersion == 8){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#8 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "120";	// Image Height
		
		}
		else if (advVersion == 9){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower&nbsp<br>&nbspFavors and Games&nbsp";
			var bodyText = '#9 - Make a great impression with these gorgeous upscale games and personalized party favors for your next baby shower!';
			var picAlt = " Click here for favors and Games ";
			var picH = "120";	// Image Height
		
		}
	}
//	Advertisement 2 Content Options
/*
image[number++] = "<img src='/advertising/sitewide/carlsoncraft/baby_shower_01.jpg' alt='Baby Shower Invitations' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/carlsoncraft/baby_shower_02.jpg' alt='Baby Shower Invitations' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/carlsoncraft/baby_shower_03.jpg' alt='Baby Shower Invitations' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/carlsoncraft/baby_shower_04.jpg' alt='Baby Shower Invitations' width='120' height='120' border='1'>"
image[number++] = "<img src='/advertising/sitewide/carlsoncraft/baby_shower_05.jpg' alt='Baby Shower Invitations' width='120' height='120' border='1'>"

*/
	else if (advNum == 2){
		//
		var picW = "120";	// Image width
		var picH = "120";	// Image Height
		var picB = "0";		// Border Thickness
		//
		if (advVersion == 1){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower Invitations&nbsp";
			var bodyText = 'Quick and simple to design your invitations online! Printed professionally. Delivered to your door!';
			var picAlt = " Baby Shower Invitations ";
		}
		else if (advVersion == 2){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower Invitations&nbsp";
			var bodyText = '#2 - Quick and simple to design your invitations online! Printed professionally. Delivered to your door!';
			var picAlt = " Baby Shower Invitations ";
		
		}
		else if (advVersion == 3){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower Invitations&nbsp";
			var bodyText = '#3 - Quick and simple to design your invitations online! Printed professionally. Delivered to your door!';
			var picAlt = " Baby Shower Invitations ";
		
		}
		else if (advVersion == 4){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower Invitations&nbsp";
			var bodyText = '#4 - Quick and simple to design your invitations online! Printed professionally. Delivered to your door!';
			var picAlt = " Baby Shower Invitations ";
		
		}
		else if (advVersion == 5){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "&nbspBaby Shower Invitations&nbsp";
			var bodyText = '#5 - Quick and simple to design your invitations online! Printed professionally. Delivered to your door!';
			var picAlt = " Baby Shower Invitations ";
		
		}
	}
		
//	Advertisement 3 Content Options
/*
image[number++] = "<img src='/shared/sitewide/baby_shower_01.jpg' border='0' alt='baby showers' width='180' height='303'>"
image[number++] = "<img src='/shared/sitewide/baby_shower_02.jpg' border='0' alt='baby showers' width='180' height='418'>"
image[number++] = "<img src='/shared/sitewide/baby_shower_03.jpg' border='0' alt='baby showers' width='180' height='257'>"
image[number++] = "<img src='/shared/sitewide/baby_shower_04.jpg' border='0' alt='baby showers' width='180' height='328'>"
image[number++] = "<img src='/shared/sitewide/baby_shower_05.jpg' border='0' alt='baby showers' width='180' height='400'>"
*/
	else if (advNum == 101){
		//	Image with alt text only, No Links 
		var picW = "180";	// Image width
		var Hspace = "0";	// Horizontal Space
		var Vspace = "0";	// Vertical Space
		var picB = "0";		// Border Thickness 
		var picAlt = " Baby Showers ";
		//
		if (advVersion == 1){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "";
			var bodyText = '';
			var picH = "303";	// Image Height
			
		}
		else if (advVersion == 2){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "";
			var bodyText = '';
			var picH = "418";	// Image Height
		
		}
		else if (advVersion == 3){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "";
			var bodyText = '';
			var picH = "257";	// Image Height
		
		}
		else if (advVersion == 4){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "";
			var bodyText = '';
			var picH = "328";	// Image Height
		
		}
		else if (advVersion == 5){
			var picURL = 'images/mPT_FSLA_cvr.JPG';
			var urltext = "";
			var bodyText = '';
			var picH = "400";	// Image Height
		
		}
	}

	
	
	var prefix = "http://www.";
	var newURL = prefix + domain + "." + suffix;
	
	if(advStyle == 1){
		//
		var Hspace = "0";	// Horizontal Space
		var Vspace = "8";	// Verical Space
		//
		//	create image link
		var outURLpic = '<a href="'+newURL+'""><img src="'+picURL+'" alt="'+picAlt+'" width="'+picW+'" height="'+picH+'" hspace="'+Hspace+'" vspace="'+Vspace+'" border="'+picB+'"></a><br>';
		//	create text link
		var outURLtxt = '<span class="advStyle01b"><a href="'+newURL+'" target="_New" title="'+picAlt+'">'+urltext+'</a></span><br><br>';
		//	create text description
		var outText = '<span class="advStyle02n">'+bodyText+'</span><br>&nbsp';
		//	Combine image link, text link and descriptive text
		var outURL = outURLpic + outURLtxt + outText;
	}

	else if (advStyle == 2){
		//
		var Hspace = "0";	// Horizontal Space
		var Vspace = "2";	// Verical Space
		//
		//	create image link
		var outURLpic = '<a href="'+newURL+'""><img src="'+picURL+'" alt="'+picAlt+'" width="'+picW+'" height="'+picH+'" hspace="'+Hspace+'" vspace="'+Vspace+'" border="'+picB+'"></a><br>';
		//	create text link
		var outURLtxt = '<span class="advStyle02n"><a href="'+newURL+'" target="_New" title="'+picAlt+'">'+urltext+'</a></span><br>';
		//	create text description
		var outText = '<span class="advStyle02n">'+bodyText+'</span><br>&nbsp';
		//	Combine image link, text link and descriptive text
		var outURL = outURLpic + outURLtxt + outText;
	}

	else if (advStyle == 3){
		//	Creates a table with text above the image and text link
		
		//	Set default colors if none specified
		if (tableColor == null){ tableColor = "#FF5E93";}
		if (textColor == null){ textColor = "#FFFFFF";}
		//
		var Hspace = "0";	// Horizontal Space
		var Vspace = "5";	// Vertical Space
		
		//	create table
		var beginTable = '<table width="178" height="20" border="2" align="center" cellpadding="4" cellspacing="0" bordercolor="'+tableColor+'"><tr>';
		beginTable += '<td height="20" bgcolor="'+tableColor+'"><div align="center">';
		
		//	create text description
		var outText = '<span class="advStyle02n"><font color="'+textColor+'">'+bodyText+'</font></span>';

		//	Table break
		var midTable = '</div></td></tr><tr><td><div align="center">';
			
		//	create image link
		var outURLpic = '<a href="'+newURL+'""><img src="'+picURL+'" alt="'+picAlt+'" width="'+picW+'" height="'+picH+'" hspace="'+Hspace+'" vspace="'+Vspace+'" border="'+picB+'"></a><br>';

		//	create text link
		var outURLtxt = '<span class="advStyle01b"><a href="'+newURL+'" target="_New" title="'+picAlt+'">'+urltext+'</a></span><br><br>';
	
		//	close table
		var endTable = '</div></td></tr></table>';
		
		//	Combine image link, text link and descriptive text
		var outURL = beginTable + outText + midTable + outURLpic + outURLtxt + endTable;
	}
	else if (advStyle == 9){
		//	Use this to change Images only
		var Hspace = "0";	// Horizontal Space
		var Vspace = "0";	// Vertical Space
		//		
		var outURLpic = '<div align="center">';
		outURLpic += '<img src="'+picURL+'" alt="'+picAlt+'" width="'+picW+'" height="'+picH+'" hspace="'+Hspace+'" vspace="'+Vspace+'" border="'+picB+'">';
		outURLpic += '</div>';
		
		var outURL = outURLpic;
	}
	
	//	Publish results
	document.write(outURL);
	
}	// END - function advRandomizer()

/*
	<script language="JavaScript"><!--
		// Parameters - Style number, Advert number, set adv number, table color, font color
		advRandomizer(2,2,0,"#CCFFFF","#000099");
	//--></script>
*/











/*
function makePicTxtLink(domain,bogus,target,suffix,altText,picURL,picAlt,picW,picH,picB,Hspace,Vspace){
	//	makePicTxtLink("myDomain","stuff","_New","com","The Alt Text","images/mypic.jpg","150","300","1","","");
	//	Note that content entered for AltText is also used for the Title tag for the text link
	//
	//	For automation
	var urltext = ""; // Formatted random text strings
	var prefix = "http://www.";
	var newURL = prefix + domain + "." + suffix;
	//	create image link
	var outURLp = '<a href="'+newURL+'""><img src="'+picURL+'" alt="'+picAlt+'" width="'+picW+'" height="'+picH+'" hspace="'+Hspace+'" vspace="'+Vspace+'" border="'+picB+'"></a><br>';
	//	create text link
	var outURL = '<span class="advStyle01"><a href="'+newURL+'" target="'+target+'" title="'+title+'">"'+urltext+'"</a><br>';
	//	create text description
	var outText = ' ';
	//	Combine image link, text link and descriptive text
	var outURL = outURLp + outURL + outText;
	//	Publish results
	document.write(outURL);
*/


/*
// Image Link, Text Link and Text Description
function linkComplex(name,bogus,target,suffix,title,urltext,imageURL,imageAlt,iW,iH,hs,vs,bord){
	//
	var prefix = "http://www.";
	var newURL = prefix + name + "." + suffix;
	if (urltext == "none" || urltext == null) {var urltext = newURL;}
	if (imageAlt == "none" || imageAlt == null) {var imageAlt = title;}
	var outURL = '<a href="'+newURL+'" target="'+target+'" title="'+title+'">"'+urltext+'"</a>'+
	'<img src="'+imageURL+'" alt="'+imageAlt+'" width="'+iW+'" height="'+iH+'" hspace="'+hs+'" vspace="'+vs+'" border="'+bord+'">;

	document.write(outURL);
}
*/


//	Add (bookmark) a page from your web site to visitor's favorites
//	Uses a text link
function addToFavsTxt(url, pageName) {
	//	add your website home page - the default option if no arguments are passed to this function
	if ( url == null){
		var newUrl = "http://" + DomainID;		// specified at the top of this page
		var pageID = SiteID;
	} else {
		var newUrl = url;						// User input
		var pageID = pageName;
	}
	
	if (window.external) {
		window.external.AddFavorite(newUrl,pageID);
	} else {
		alert("   Sorry! Your Web Browser doesn't support setting this bookmark.   "); 
	} 
}

/*
Add the script below to your page

example 1 - Using defaults
<a href="javascript:addToFavsTxt()"> Bookmark This Page !</a>

example 2 - Using provided link and description
<a href="javascript:addToFavsTxt('http://www.locomotiveart.com/ART_BayerGarrett.html','Bayer Garrett Painting')"> Bookmark This Page ! </a>

*/



//	Display Current Date
//
function datum( show ) {
	date = new Date();

	var dayNum  = date.getDay();
	var Dnum    = date.getDate();
	var MnthNum = date.getMonth();
	var year    = date.getYear();
	var Dname   = '';
	var Mname   = '';

	if(dayNum == 0){Dname = 'Sunday';}
	if(dayNum == 1){Dname = 'Monday';}
	if(dayNum == 2){Dname = 'Tuesday';}
	if(dayNum == 3){Dname = 'Wednesday';}
	if(dayNum == 4){Dname = 'Thursday';}
	if(dayNum == 5){Dname = 'Friday';}
	if(dayNum == 6){Dname = 'Saturday';}

	if(MnthNum == 0){Mname = 'January';}
	if(MnthNum == 1){Mname = 'February';}
	if(MnthNum == 2){Mname = 'March';}
	if(MnthNum == 3){Mname = 'April';}
	if(MnthNum == 4){Mname = 'May';}
	if(MnthNum == 5){Mname = 'June';}
	if(MnthNum == 6){Mname = 'July';}
	if(MnthNum == 7){Mname = 'August';}
	if(MnthNum == 8){Mname = 'September';}
	if(MnthNum == 9){Mname = 'October';}
	if(MnthNum == 10){Mname = 'November';}
	if(MnthNum == 11){Mname ='December';}

	if (show == null || show == "all"){var dateline = Dname + ' ' + Dnum + ' ' + Mname + ' ' + year;} // Full date
	if (show == "d"){var dateline = Dname;}					// Day only
	if (show == "m"){var dateline = Mname;}					// Month only
	if (show == "my"){var dateline = Mname + ' ' + year;}	// Month and Year
	if (show == "y"){var dateline = year;}					// Year
	document.write(dateline);
}
//	Paste this into web page to Display Current Date
//
//	<script language="JavaScript"><!--
//		datum();
	//--></script>




// 	Report JSwebdev Revision Info
//	----------------------------------------------------------------------------
//
function DocVersions(){
	var JSversion = "<b>THIS WEB SITE USES</b><br> JavaScript For Web Site Developers - Version: " +
					webDevVS + "<br>" + "JavaScript Last Updated: " + webDevUD + "<br>" +
					"Registered to: " + SiteID + "<br>RegID: " + RegID;
	document.write(JSversion);
}
//	Paste this into web page where your JSwebdev Revision notice is required
//
//	<script language="JavaScript"><!--
//		DocVersions();
	//--></script>



// 	EOF ... b-dee, b-dee, b-dee, that's all folks! :-))