var close_box_display = 'non'+'e'
var christmas = true;
var valentines = false;
var monthsarray = ['January','February','March','April','May','June','July','August','September','October','November','December'];
var HeartsSwitch = 'on';
var heartname;
var menuitemno = 0; /* used in left_navi1 and 2 to position menu  items and the faded heart image */
var tdtracker = 'http://tracker.tradedoubler.com/click?';
var tdclkuk = 'http://clkuk.tradedoubler.com/click?';
var awin1= 'http://www.awin1.com/awclick.php?';
var awin1read= 'http://www.awin1.com/cread.php?';
var dgm = 'http://www.dgm2.com/';
var lifetools = 'http://www.lifetools.com/cgi-bin/referrer.pl?SOURCE=AFF011&DESTINATION='
var cjhcctc = 'http://www.kqzyfj.com/click-2202486-10452625'
var cjhcctcdlp = 'http://www.jdoqocy.com/click-2202486-10452625?url=http://www.hotelchocolat.co.uk/product.asp?pf_id=' <!-- product link - then add the correct deep link product id, followed by '&src=cj' -->
var cjhcctcdlc = 'http://www.jdoqocy.com/click-2202486-10452625?url=http://www.hotelchocolat.co.uk/' <!-- category link  - then add the actual page url -->
var cjhc = 'http://www.dpbolvw.net/click-2202486-10431305'
var cjhcdlp = 'http://www.dpbolvw.net/click-2202486-10431305?url=http://www.hotelchocolat.co.uk/product.asp?pf_id=' <!-- product link - then add the correct deep link product id, followed by '&src=cj' -->
var cjhcdlc = 'http://www.kqzyfj.com/click-2202486-10431305?url=http://www.hotelchocolat.co.uk/category.asp&cat_id=' <!-- category link  - then add the category id from http://www.hotelchocolat.co.uk/viewindex.asp-Adeeplink_gen -->
var pipc = "http://www.prettyinpinkclubwear.co.uk/product_info.php?ref=7&products_id="
var pipcend = "&affiliate_banner_id=1"
var por = "http://www.paidonresults.net/c/16587/1/358/0"
var buycosmetics = ''

<!-- begin code for checking whether it's Christmas or Valentine's -->
var todaysdate = new Date(); 
var current_month = todaysdate.getMonth() + 1;
var current_date = todaysdate.getDate();
if ((current_month < 10) || ((current_month == 10) && (current_date < 25)) || ((current_month == 12) && (current_date > 27)))
	{christmas = false;}
if (((current_month == 1) && (current_date >13)) || ((current_month == 2) && (current_date < 17)))
	{valentines = true;}
<!-- end code -->

<!-- Begin code to preload mouseover images and top pink heart

kiss1red=new Image;      
kiss1blue=new Image;
kiss2red=new Image;      
kiss2blue=new Image;
kiss3red=new Image;      
kiss3blue=new Image;

allaboutlovered=new Image;
allaboutloveblue=new Image;
no1pink=new Image;
no1blue=new Image;
no2pink=new Image;
no2blue=new Image;

favlinkred=new Image;
favlinkblue=new Image;

layoutpinkheart=new Image;

kiss1red.src="layout_images/kiss1red.jpg";     
kiss1blue.src="layout_images/kiss1blue.jpg";
kiss2red.src="layout_images/kiss2red.jpg";     
kiss2blue.src="layout_images/kiss2blue.jpg";
kiss3red.src="layout_images/kiss3red.jpg";     
kiss3blue.src="layout_images/kiss3blue.jpg";

allaboutlovered.src="layout_images/allaboutlove-red.png";
allaboutloveblue.src="layout_images/allaboutlove-blue-ul.png";
no1pink.src="layout_images/1-pink.png";
no1blue.src="layout_images/1-blue-ul.png";
no2pink.src="layout_images/2-pink.png";
no2blue.src="layout_images/2-blue-ul.png";

favlinkred.src="layout_images/favorites_link.gif";
favlinkblue.src="layout_images/favorites_link_over.gif";

layoutpinkheart.src="layout_images/pink_heart_large.jpg";

// End -->

<!-- Begin function for opening a window - arg 1 is url, arg 2 is (arbitrary) name, args 3&4 are width & height, arg 5 is scrollbars required (yes or no)
var win=null;
function NewWindow(mypage,myname,w,h,scroll)
{
myleft=(screen.width)?(screen.width-w)/2:100;
mytop=(screen.height)?(screen.height-h)/2:100;
if (scroll != 'full')
	settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=" + scroll + ",location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";
else
	settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes";
win=window.open(mypage,myname,settings);
win.focus();
}
// End -->

<!-- Begin function for opening a supplier window - arg 1 is affilate programme manager, arg 2 is stuff after the question mark
var win=null;
var affiliateurl;
function showgift(manager,ids)
{
if (manager=='tdtracker') {affiliateurl = 'http://tracker.tradedoubler.com/click?'}
else if (manager=='tdclkuk') {affiliateurl = 'http://clkuk.tradedoubler.com/click?'}
else if (manager=='awin1') {affiliateurl = 'http://www.awin1.com/awclick.php?'}
else if (manager=='dgm') {affiliateurl = 'http://www.dgm2.com/'}; 

affiliateurl += ids;
win=window.open(affiliateurl,'affiliate_site');
win.focus();
}
// End -->

<!-- Begin function for showing a supplier image  - arg 1 is src, arg 2 is alt attribute, arg 3 is width, arg 4 is height -->
function supplierimg(imgsrc,imgalt,width,height)
{
document.write ('<img src="' + imgsrc +
	'" border="0" style="margin:5px;" width="' + width + '" height="' + height + '" alt="' + imgalt + '" />') 
}
<!-- End -->

<!-- Begin function for showing a supplier image, with style defns  - arg 1 is src, arg 2 is alt attribute, arg 3 is width, arg 4 is height, arg 5 is style defns -->
function supplierimgwithstyle(imgsrc,imgalt,width,height,styledefns)
{
document.write ('<img src="' + imgsrc +
	'" border="0" width="' + width + '" height="' + height + '" alt="' + imgalt + '" style="' + styledefns + '" />') 
}
<!-- End -->

<!-- Begin function for changing the a tag href to the url of a supplier window - arg 1 is the a tag id, arg 2 is affilate programme manager, arg 3 is stuff after the question mark
var affiliateurl;
function changegifturl(giftatagid,manager,ids)
{
if (manager=='tdtracker') {affiliateurl = 'http://tracker.tradedoubler.com/click?'}
else if (manager=='tdclkuk') {affiliateurl = 'http://clkuk.tradedoubler.com/click?'}
else if (manager=='awin1') {affiliateurl = 'http://www.awin1.com/awclick.php?'}
else if (manager=='dgm') {affiliateurl = 'http://www.dgm2.com/'}; 

affiliateurl += ids;
var atagtochange = new getObj(giftatagid);atagtochange.obj.href=affiliateurl;
}
// End -->

<!-- function, used with area tags,to change the status line after a delay - only way to get it to work! -->
function changestatus(statusline)
{setTimeout('window.status="' + statusline + '"', 1);}
<!-- end -->

<!-- Begin function for resizing enlargement screens - arg 1 is required width, arg 2 is required height

function ResizeScreen(Width,Height)
{window.moveTo(0,0);
var PageWidth = Width;	
if (Height == null) 
	{PageHeight = screen.availHeight} 	
else 
	{PageHeight = Height} 	 	
if (screen.availHeight < Height) 
	{PageHeight = screen.availHeight};
if (screen.availWidth < Width) 
	{PageWidth = screen.availWidth};
window.resizeTo(PageWidth,PageHeight);
}

// End -->

<!-- Begin function for getting correct object prefix, according to how browser treats document elements

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

// End -->

<!-- Begin function for showing a help box (div) on screen

function show_help_box(divname,boxheight)
{
var divtoshow = new getObj(divname);
divtoshow.style.display = "block";
}

// End -->

<!-- Begin function for showing a help box (div) on screen, with display:inline -->

function show_help_box_inline(divname,boxheight)
{
var divtoshow = new getObj(divname);
divtoshow.style.display = 'inline';
}

<!-- End -->

<!-- Begin function for showing a menu help box (div) on screen

function show_menu_help_box(divname,toppos,boxheight)
{
var divtoshow = new getObj(divname);
if (divtoshow.obj.innerHTML != '') 
	{divtoshow.style.display = "block";}
divtoshow.style.top = toppos + 'px';
}

// End -->
<!-- Begin function for hiding a help box (div) on screen

function hide_help_box(divname)
{
var divtohide = new getObj(divname);
divtohide.style.display = close_box_display;;  
}

<!-- Begin function for generating text email link 

// **************************************************************
// AUTHOR: Andrew Green (copyright 2004)
// URL: http://www.andrewgreen.biz
// Feel free to use this script - just leave this message intact.
// **************************************************************

function GenerateEmailLink(domain,emailrecipient,linktype,linktext,styleclass,atagtitle,emailsubject,emailbody,atagid)
{
var atsign = '@';
if (domain.substr(0,4) == 'www.')
	{domain = domain.substring(4,(domain.length+1));}
if (domain.substr(0,11) == 'http://www.')
	{domain = domain.substring(11,(domain.length+1));}
if (emailrecipient.indexOf('@') > -1)
	{emailaddress = emailrecipient} 
else
	{emailaddress = emailrecipient + atsign + domain} 
if (emailaddress.search(/[ \/;:,]/) > -1)
	{alert ('email addresses can\'t have a space or , or ; or : or / in them.\nYou used \'' + emailrecipient + '\', which is invalid'); return} 
if ((linktype != 'text') && (linktype != 'address')) 
	{alert ('the linktype argument must be \'text\' or \'address\'.\nYou used \'' + linktype + '\''); return;}
if ((atagid == '') || (atagid == undefined)) 
	{idattribute=''} 
else 
	{idattribute = 'id="' + atagid + '" '}
if ((emailsubject == '') || (emailsubject == undefined))  
	{emailsubjectsubattribute=''} 
else
	{emailsubjectsubattribute = '?cc=greenbuckle@btinternet.com&subject=' + emailsubject};
if ((emailbody == '') || (emailbody == undefined))  
	{emailbodysubattribute=''} 
else
	{emailbodysubattribute = '&body=' + emailbody};
atagcode = '<a class="' 
	+ styleclass + '" ' 
	+ idattribute
	+ 'href="mailto:'
	+ emailaddress
	+ emailsubjectsubattribute 
	+ emailbodysubattribute
	+ '" title="'
	+ atagtitle
	+ '">';
(linktype == 'text')? 
	linkcode = linktext + '</a>' : 
	linkcode = emailrecipient + atsign + domain + '</a>';
document.write (atagcode);
document.write (linkcode);
}

// End -->

<!-- Begin function for generating email anchor tag for an image 

// **************************************************************
// AUTHOR: Andrew Green (copyright 2004)
// URL: http://www.andrewgreen.biz
// Feel free to use this script - just leave this message intact.
// **************************************************************

function GenerateEmailAnchor(domain,emailrecipient,atagtitle,emailsubject,emailbody)
{
var atsign = '@';
if (domain.substr(0,4) == 'www.')
	{domain = domain.substring(4,(domain.length+1));}
if (domain.substr(0,11) == 'http://www.')
	{domain = domain.substring(11,(domain.length+1));}
if (emailrecipient.indexOf('@') > -1)
	{emailaddress = emailrecipient} 
else
	{emailaddress = emailrecipient + atsign + domain} 
if (emailaddress.search(/[ \/;:,]/) > -1)
	{alert ('email addresses can\'t have a space or , or ; or : or / in them.\nYou used \'' + emailrecipient + '\', which is invalid'); return} 
if ((emailsubject == '') || (emailsubject == undefined))  
	{emailsubjectsubattribute=''} 
else
	{emailsubjectsubattribute = '?cc=greenbuckle@btinternet.com&subject=' + emailsubject};
if ((emailbody == '') || (emailbody == undefined))   
	{emailbodysubattribute=''} 
else 
	{emailbodysubattribute = '&body=' + emailbody};
atagcode = '<a class="' 
	+ '" href="mailto:'
	+ emailaddress
	+ emailsubjectsubattribute 
	+ emailbodysubattribute
	+ '" title="'
	+ atagtitle
	+ '">';
document.write (atagcode);
}

// End -->

<!-- Begin function for generating email anchor tag (for buttons) 

// **************************************************************
// AUTHOR: Andrew Green (copyright 2004)
// URL: http://www.andrewgreen.biz
// Feel free to use this script - just leave this message intact.
// **************************************************************

function GenerateEmailButtonAnchor(domain,emailrecipient,atagtitle,imgtagname,emailsubject,emailbody)
{
var atsign = '@';
if ((emailbody == '') || (emailbody == undefined))   
	{emailbodysubattribute=''} 
else 
	{emailbodysubattribute = '&body=' + emailbody};
atagcode = '<a class="' 
	+ '" href="mailto:'
	+ emailrecipient
	+ atsign
	+ domain
	+ '?subject='
	+ emailsubject 
	+ emailbodysubattribute
	+ '" title="'
	+ atagtitle
	+ '" '
	+ 'onmouseover="'
	+ imgtagname
	+ '.src=commover.src" onmouseout="'
	+ imgtagname
	+ '.src=commbutt.src">';
document.write (atagcode);
}

// End -->

<!-- Begin function for getting correct document body, to be used with checking the scroll position

function truebody()
{return (document.compatMode!="BackCompat")? document.documentElement : document.body}

// End -->

<!-- Begin function for handling mouseover and out style changes on gift type navi links

function GiftTypeStyleChange(Type,overandout)
{
  var TextId = Type + 'text';
  var TextObjectName = new getObj(TextId);
  if (overandout == 'over')
  {
	TextObjectName.style.color='blue'	
	TextObjectName.style.textDecoration = 'underline';
  }
  else
  {
	TextObjectName.style.color='purple'	
	TextObjectName.style.textDecoration = 'none';
  }  
}

// End -->

<!-- Begin function for setting up the reveal transition (ImageId is the 'id' of the image, TransNo is the transition number) to be shown with a transition -->

function SetupRevealtrans(ImageId,TransNo)
{
var StyleFilter ="revealTrans(Duration=2.0, Transition=";
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
	{ 
	ImageId.style.filter = StyleFilter += TransNo += ")";	
	ImageId.style.visibility = "hidden";
   	}
else
    	{ 
	ImageId.style.visibility = "hidden";
    	}
}
<!-- End -->

<!-- Begin function for setting up the hide transition (ImageId is the 'id' of the image, TransNo is the transition number) to be shown with a transition -->

function SetupHidetrans(ImageId,TransNo)
{
var StyleFilter ="revealTrans(Duration=2.0, Transition=";
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
	{ 
	ImageId.style.filter = StyleFilter += TransNo += ")";	
	ImageId.style.visibility = "visible";
   	}
else
    	{ 
	ImageId.style.visibility = "visible";
    	}
}
<!-- End -->

<!-- Begin function for applying a reveal transition to a particular image id (oImg) -->

function RevealTransition (oImg)
{
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
    {	oImg.filters[0].Apply();
    	oImg.style.visibility = "visible";
    	oImg.filters[0].Play();
    }
else
    { 
	oImg.style.visibility = "visible";
    }
}

<!-- End -->

<!-- Begin function for applying a hide transition to a particular image id (oImg)

function HideTransition (oImg)
{
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
    {	oImg.filters[0].Apply();
    	oImg.style.visibility = "hidden";
    	oImg.filters[0].Play();
    }
else
    { 
	oImg.style.visibility = "hidden";
    }
}

// End -->

<!-- Begin function for setting up the reveal transition (ImageId is the 'id' of the image, TransNo is the transition number) to be shown with a transition -->

function SetupFadeintrans(ImageId,Duration)
{
var StyleFilter ='progid:DXImageTransform.Microsoft.Fade(duration=';
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
	{ 
	ImageId.style.filter = StyleFilter + Duration + ')';	
	ImageId.style.visibility = "hidden";
   	}
else
    	{ 
	ImageId.style.visibility = "hidden";
    	}
}
<!-- End -->

<!-- Begin function for setting up the hide transition (ImageId is the 'id' of the image, TransNo is the transition number) to be shown with a transition -->

function SetupFadeouttrans(ImageId,Duration)
{
var StyleFilter ='progid:DXImageTransform.Microsoft.Fade(duration=';
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
	{ 
	ImageId.style.filter = StyleFilter + Duration + ')';	
	ImageId.style.visibility = "visible";
   	}
else
    	{ 
	ImageId.style.visibility = "visible";
    	}
}
<!-- End -->

<!-- Begin function for applying a reveal transition to a particular image id (oImg) -->

function FadeinTransition (oImg)
{
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
    {	oImg.filters[0].apply();
    	oImg.style.visibility = "visible";
    	oImg.filters[0].play();
    }
else
    { 
	oImg.style.visibility = "visible";
    }
}

<!-- End -->

<!-- Begin function for applying a hide transition to a particular image id (oImg) -->

function FadeoutTransition (oImg)
{
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))    
    {	oImg.filters[0].apply();
    	oImg.style.visibility = "hidden";
    	oImg.filters[0].play();
    }
else
    { 
	oImg.style.visibility = "hidden";
    }
}

<!-- End -->


<!-- Begin function for starting to show transient hearts

function StartHearts ()
{
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))      
   setTimeout ('ShowHeart()',((Math.random() * 5) * 1000));
}

// End -->

<!-- Begin function for showing transient hearts

function ShowHeart ()
{
if (HeartsSwitch =='on')
    {
    var left_pos = (Math.random () * 570) + 180 + 'px';
    var scroll_top= truebody().scrollTop
    var top_pos = Math.floor(scroll_top + 110 + (Math.random () *  (screen.availHeight - 150 - 110))) + 'px';
    switch (Math.floor(Math.random() * 7))
    	{    
    	case 0: {heartname = orange1heart; break;}
    	case 1: {heartname = orange2heart; break;}        
    	case 2: {heartname = pinkheart; break;}
    	case 3: {heartname = purpleheart; break;}
    	case 4: {heartname = redheart; break;}
    	case 5: {heartname = pinkblueheart; break;}    
    	default: {heartname = redorangeheart; break;}
    	}
    heartname.style.left = left_pos;
    heartname.style.top = top_pos;
    RevealTransition(heartname);
    SetupHidetrans(heartname,'12');
    setTimeout ('HideTransition(heartname)',3000);    
    setTimeout ('ShowHeart()',(((Math.random() * 10) + 3) * 1000));
    } 
}

// End -->


<!-- Begin function for hiding heart again

function HideHeart (ImageId)
{
	ImageId.style.visibility = "hidden";    
}

// End -->

<!-- Begin function for turning off or on transient hearts

function SwitchHearts ()
{
	if (HeartsSwitch == 'off')
		{HeartsSwitch = 'on'; 
		heartsoff.style.display = 'inline';
		heartson.style.display = 'none';
		heartsbutton.title = 'turn randomly displayed hearts off'}
	else 
		{HeartsSwitch = 'off'
		heartsoff.style.display = 'none';
		heartson.style.display = 'inline';
		heartsbutton.title = 'turn randomly displayed hearts on'}  
	ShowHeart ()
}

// End -->

<!-- Begin function for add favorites/bookmark reminder link

function FavPrompt (PageUrl,PageTitle)
{

if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) 
	{
	var msg = '<a class="limebluebold12" href="javascript:window.external.AddFavorite(';
	msg += "'";
  	msg += PageUrl;
	msg += "'";
	msg += ',';
	msg += "'";
	msg += PageTitle;
	msg += "'";
	msg += ')">';
	document.write(msg);
  	document.write('Click here</a>');
  	document.write(' to add this page to your Favorites!');
	}

else 
	{
  	var msg = "Don't forget to bookmark this page!";
  	if(navigator.appName == "Netscape") 
  		{  
    		msg += "  (CTRL+SHIFT+D)";
    		document.write(msg);
  		}
  	else
  		{
    		var msg = "Don't forget to add this page to your favorites!";
    		document.write(msg);
		}
	}
}
// End -->

<!-- Begin function for image favorites reminder link, with alert if Netscape

function ImageFavPrompt (PageUrl,PageTitle)

{
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) 
	{
	window.external.AddFavorite(PageUrl,PageTitle);
  	}
else 
	{
  	var msg = "On Netscape, you should press CTRL+SHIFT+D to bookmark this page";
  	if(navigator.appName == "Netscape") 
  		{  
    		alert(msg);
    		}
  	else
  		{
		alert("Unfortunately, your browser can't do this automatically ... but don't forget to add this page to your favorites now");   		
		}
	}
}
// End -->

<!-- begin function for displaying "Good ... and welcome to LovefromMe" message -->
function displaywelcomemessage()
{
var summertimeoffset = 1;
var gmt = new Date;
var clocksgoforward = new Date;
var clocksgoback = new Date;
clocksgoforward.setMonth(2); // March
clocksgoforward.setDate(31);
var day = clocksgoforward.getDay();// day of week of 31st
clocksgoforward.setDate(31-day); // last Sunday
clocksgoback.setMonth(9); // October
clocksgoback.setDate(31);
day = clocksgoback.getDay();
clocksgoback.setDate(31-day);
if (gmt < clocksgoforward || gmt >= clocksgoback) 
	summertimeoffset = 0;

var todaysdate = new Date(); 
var timeis = todaysdate.getTime();
todaysdate.setTime(timeis);
var houris = todaysdate.getHours() + summertimeoffset;
if (houris > 17) 
	display = "evening"; 
else if (houris >=12) 
	display = "afternoon"; 
else 
	display = "morning"; 
var welcome = ('Good ' + display + ' &amp; welcome to ');
document.write(welcome);
}
<!-- end function -->

<!-- begin function for displaying the current month -->
function displaymonth()
{
var todaysdate = new Date(); 
var monthis = todaysdate.getMonth();
var displaymonth = (monthsarray[monthis]);
document.write(displaymonth);
}
<!-- end function -->

<!-- begin function for making Christmas or Valentine's divisions invisible if too early or late -->
function christmas_valentines(no_of_xmas_elements,no_of_valentines_elements)
{
if (christmas)
{
for (var i=1; i<(no_of_xmas_elements+1); i++)
	{
	var ElementName = new getObj('xmas' + i);
	ElementName.style.display = 'inline';
	}
}
if ((valentines) && (no_of_valentines_elements>0))
{
for (var i=1; i<(no_of_valentines_elements+1); i++)
	{
	var ElementName = new getObj('val' + i);
	ElementName.style.display = 'inline';
	}
}
}
<!-- end function -->

<!-- begin function for making Christmas elements visible at the right time, using display:block -->
function christmas_show(no_of_xmas_elements)
{
if (christmas)
{
for (var i=1; i<(no_of_xmas_elements+1); i++)
	{
	var ElementName = new getObj('xmas' + i);
	ElementName.style.display = 'block';
	}
}
}
<!-- end function -->


<!-- Begin function for generating links --> 

// **************************************************************
// AUTHOR: Andrew Green (copyright 2004)
// URL: http://www.andrewgreen.biz
// Feel free to use this script - just leave this message intact.
// **************************************************************

function GenerateLink(linktype,linkurl,linktext,atagtitle,htmlimgtag)
{
var displayedlinkurl = linkurl;
if (linkurl.indexOf('www') == -1) {displayedlinkurl = 'http://' + linkurl};
var htmlatagend = 'href="http://' + linkurl + '" target="_blank" title="' + atagtitle + ' (opens in a new window)">';
document.write('<div style="float:left;display:inline;margin:0px 40px 10px 0px;width:420px;">');
document.write('<a class="hover" ' + htmlatagend); 
if (linktype == 'image')
	{
	document.write(htmlimgtag + ' ');
	}
document.write(linktext + '</a>');
document.write('</div><div style="float:left;display:inline;width:150px;">');
styleclassdefn = 'class="hover" ' 
document.write('<a ' + htmlatagend); 
document.write(displayedlinkurl + '</a></div>');
}

<!-- End -->

function show_item_as_new (new_date)
{
if (new_date == 'dec2005')
document.write('<img src="layout_images/rednew.gif" style="vertical-align:middle;">')
}
