<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function display_date() { //v2.0
       var DayOfWeek = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
       var MonthName = new Array('Jan.','Feb.','March','April','May','June','July','August','Sept.',
                          'Oct.','Nov.','Dec.');
       var theDate = new Date();

       document.write('<span class="fontdate">'+DayOfWeek[theDate.getDay()] + ' ' +
			   MonthName[theDate.getMonth()] + ' ' +
               theDate.getDate() + ', ' +
               (theDate.getYear() < 200 ? theDate.getYear() + 1900 : theDate.getYear()) +
              '</span>');}

function changePage() {
	if (self.parent.frames.length != 0)
		self.parent.location=document.location;
	}
	
function bookmarkthistext(location,title) {
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0") {
		if (title == "") {title="document.title"}
		else {title="'"+title+"'"}
		if (location == "") {location="location.href"}
		else {location="'"+location+"'"}
  		document.write('<a href="javascript:void(0);" class="linkblue" onMouseOver="window.status='+"'Click here to add this page to your favourites'"+'; return true" onMouseOut="window.status='+"' '"+'; return true" onClick="window.external.AddFavorite('+location+','+title+');">click here to add this page to your favourites</a>')}
	else
		{document.write("<strong>hit CTRL-D to bookmark this page</strong>")}
}

function bookmarkthis(location,title) {
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0") {
		if (title == "") {title="document.title"}
		else {title="'"+title+"'"}
		if (location == "") {location="location.href"}
		else {location="'"+location+"'"}
  		document.write('<a href="javascript:void(0);" class="linkblue" onMouseOver="window.status='+"'Click here to add this page to your favourites'"+'; return true" onMouseOut="window.status='+"' '"+'; return true" onClick="window.external.AddFavorite('+location+','+title+');">Add to Favorites</a>&nbsp;-&nbsp;')}
}

function validateVoteForm(obj) {
	if (obj) {
    for(i=0; i<obj.elements.vote.length; i++){
         if (obj.elements.vote[i].checked){
	            return true;
          }
		}
	    alert('Please cast a valid vote by selecting one of the options.');
		return false;
	}
	return false;
}

function go1(){
if (document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value != "none") {
location = document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value
		}
	}

function writeCategorySelector() {
//document.write('<a href="online-christmas-shopping.html" target="_self" class="linkpromindex"><img src="images/markers/new.gif" alt="" width="31" height="12" border="0">Christmas Gift Ideas</a><br>');
document.write('<form name="selecter1"><select name="select1" size=1 onchange="go1()" class="catSelect">');
document.write('<option value=none>Go to other category');
document.write('<option value=none>--------------------');
document.write('<option value="/promotions/discount-codes-sales.html">Promotions &amp; Vouchers');
document.write('<option value="books.html">Books');
document.write('<option value="catalogue-shops.html">Catalogue Shops');
document.write('<option value="clothes-shops.html">Clothes');
document.write('<option value="computers.html">Computers');
document.write('<option value="department-stores.html">Department Stores');
document.write('<option value="dvds-videos.html">DVDs &amp; Blu-rays');
document.write('<option value="electrical-goods.html">Electrical Goods');
document.write('<option value="finance.html">Finance and Insurance');
document.write('<option value="food-and-drink.html">Food &amp; Drink');
document.write('<option value="furniture-stores-uk.html">Furniture');
document.write('<option value="gifts.html">Gifts');
document.write('<option value="health-and-beauty.html">Health and Beauty');
document.write('<option value="home-and-garden.html">Home and Garden');
document.write('<option value="jewellery-shops-uk.html">Jewellery');
document.write('<option value="mobile-phone-shops.html">Mobile Phones');
document.write('<option value="motoring.html">Motoring');
document.write('<option value="music-cds.html">Music CDs');
document.write('<option value="pet-shops.html">Pets');
document.write('<option value="sports-and-leisure.html">Sports and Leisure');
document.write('<option value="supermarkets-uk.html">Supermarkets');
document.write('<option value="toy-shops.html">Toys');
document.write('<option value="travel.html">Travel');
document.write('<option value=none>--------------------');
//document.write('<option value="christmas-gifts-for-men.html">Xmas Gifts for Men');
//document.write('<option value="christmas-gifts-for-women.html">Xmas Gifts for Women');
//document.write('<option value="christmas-gifts-for-kids.html">Xmas Gifts for Kids');
//document.write('<option value="unique-christmas-gifts.html">Unique Xmas Gifts');
//document.write('<option value="fathers-day-special.html">Fathers Day Gifts');
document.write('<option value="mother-day-gifts.html">Mothers Day Gifts');
//document.write('<option value="halloween-special.html">Halloween Shops');
//document.write('<option value="fathers-day-special.html">Fathers Day Gifts');
//document.write('<option value="valentines-gifts-for-men.html">Valentines Gifts for Men');
//document.write('<option value="valentines-gifts-for-women.html">Valentines Gifts for Women');
document.write('</select>');
document.write('</form>');
}

function writeTravelCategorySelector() {
document.write('<form name="selecter1"><select name="select1" size=1 onchange="go1()" class="catSelect">');
document.write('<option value=none>Go to other category');
document.write('<option value=none>--------------------');
document.write('<option value="accommodation.html">Accommodation');
document.write('<option value="car-hire.html">Car Hire');
document.write('<option value="flights.html">Flights');
document.write('<option value="holidays.html">Holidays');
document.write('<option value="train-ferry-bus.html">Train-Ferry-Bus');
document.write('<option value="travel-accessories.html">Travel Accessories');
document.write('<option value="travel-agents.html">Travel Agents');
document.write('<option value="travel-insurance.html">Travel Insurance');
document.write('<option value="index.html">Home');
document.write('</select>');
document.write('</form>');
}

function check_cookies()
	{
	if (navigator.appName == "Netscape")
	  {
	  netscape.security.PrivilegeManager.enablePrivilege('UniversalPreferencesRead');
	  if (navigator.preference('network.cookie.cookieBehavior') != 0)
		return "Enabled" //Accept all cookies
		else if (navigator.preference('network.cookie.cookieBehavior') != 1)
		return "Enabled" //Accept only cookies that get sent back to the originating server
		else
		return "Disabled"
	  }
	else 
	  { if (navigator.cookieEnabled==true)  return "Enabled"
	    else if (navigator.cookieEnabled==false)  return "Disabled"
		else return "Unknown"
	  }
	}

function writeCookie(name, value) { // use: setCookie("name", value);
    var today = new Date();
    var expiry = new Date(today.getTime() + 28 * 24 * 60 * 60 * 1000); // plus 28 days

    if (value != null && value != "")
      document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString();
}

function readCookie(name) {
	if (document.cookie == '') { 
   // there's no cookie
//    alert("no cookie");
	return false;
	} else {
   // there is a cookie
	var firstChar, lastChar;
	var theBigCookie = document.cookie;
	firstChar = theBigCookie.indexOf(name);
   // find the start of 'name'
	if(firstChar != -1)  {
   // if you found the cookie
	firstChar += name.length + 1;
   // skip 'name' and '='
	lastChar = theBigCookie.indexOf(';', firstChar);
   // Find the end of the value string (i.e. the next ';').
	if(lastChar == -1) lastChar = theBigCookie.length;
	return unescape(theBigCookie.substring(firstChar, lastChar));
	} else {
   // there was no cookie of that name
//    alert("no SME cookie");
	return false;
	}
    }
}


function writeIcons(icons,var1,var2,var3,var4,var5,var6) {
//    shortV = new Array ('i','s','t','p','h','f','e','o','w','g','l','r','b','z','a');
    shortV = new Array ('i','s','','p','','f','e','o','w','','','r','b','z','a');
	longV = new Array(15);
	if (var1) {phoneordering=("telephone ordering: "+var1)}else{phoneordering="telephone ordering"};
	if (var2) {freedelivery=(var2)}else{freedelivery="free UK delivery"};
	if (var3) {expressdelivery=("express delivery: "+var3)}else{expressdelivery="express delivery service"};
	if (var4) {giftwrapping=("gift wrapping: "+var4)}else{giftwrapping="gift wrapping service"};
	if (var5) {reviews=(var5)}else{reviews="reviews on products"};
	if (var6) {guarantee=(var6)}else{guarantee="price guarantee"};
	
//	alert((var1)?(var1):"");
	longV[0] = '<img src="images/icons/information-only-16x16.gif" alt="information only site - no online shopping" alt="information only site - no online shopping" width="16" height="16">';
	longV[1] = '<img src="images/icons/secure-ordering-16x16.gif" alt="secure online ordering" width="16" height="16">';
	longV[2] = '<img src="images/icons/order-tracking-16x16.gif" alt="online tracking of your order" width="16" height="16">';
	longV[3] = '<img src="images/icons/phone-ordering-16x16.gif" alt="'+phoneordering+'" width="16" height="16">';
	longV[4] = '<img src="images/icons/high-street-16x16.gif" alt="shop has high street presense" width="16" height="16">';
	longV[5] = '<img src="images/icons/free-delivery-16x16.gif" alt="'+freedelivery+'" width="16" height="16">';
	longV[6] = '<img src="images/icons/fast-delivery-16x16.gif" alt="'+expressdelivery+'" width="16" height="16">';
	longV[7] = '<img src="images/icons/worldwide-delivery-16x16.gif" alt="worldwide delivery" width="16" height="16">';
	longV[8] = '<img src="images/icons/gift-wrapping-16x16.gif" alt="'+giftwrapping+'" width="16" height="16">';
	longV[9] = '<img src="images/icons/gift-finder-16x16.gif" alt="gift finder" width="16" height="16">';
	longV[10] = '<img src="images/icons/wish-list-16x16.gif" alt="wish list can be created" width="16" height="16">';
	longV[11] = '<img src="images/icons/customer-reviews-16x16.gif" alt="'+reviews+'" width="16" height="16">';
	longV[12] = '<img src="images/icons/buyer-guides-16x16.gif" alt="buyer guides" width="16" height="16">';
	longV[13] = '<img src="images/icons/store-locator-16x16.gif" alt="store locator" width="16" height="16">';
	longV[14] = '<img src="images/icons/price-guarantee-16x16.gif" alt="'+guarantee+'" width="16" height="16">';

	for(i=0; i<icons.length; i++){
		for(j=0; j<shortV.length; j++){
	 		if (icons.substring(i,i+1)==shortV[j]){
				document.write(longV[j]+"&nbsp;");
				break;
			}
		} 
	}
	return true;	
}

//<tr><td><img src="images/icons/order-tracking-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Online Order Tracking</td></tr>
//<tr><td><img src="images/icons/high-street-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">High Street Presence</td></tr>
//<tr><td><img src="images/icons/gift-finder-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Gift Finder</td></tr><tr><td><img src="images/icons/wish-list-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Wish List</td></tr>
//<img src="images/markers/new.gif" alt="New" width="31" height="12" border="0"><a href="mother-day-gifts.html" target="_self" class="linkpromindex">Mother Day Gifts</a><br>
//<img src="images/markers/new.gif" alt="New" width="31" height="12" border="0"><a href="valentines-gifts-for-men.html" target="_self" class="linkpromindex">Valentines Gifts for Men</a><br><img src="images/markers/new.gif" alt="New" width="31" height="12" border="0"><a href="valentines-gifts-for-women.html" target="_self" class="linkpromindex">Valentines Gifts for Women</a><br>

function writeIconGuide() {
document.write('<script type="text/javascript">var addthis_pub="bmacc100";var addthis_disable_flash = true;var addthis_options = \'facebook, twitter, digg, reddit, myspace, delicious, google, live, favorites, email, print, more\';</script><a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="images/share.png" width="125" height="16" border="0" style="border:0"></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script><br><br>');
if (readCookie("somucheasier_iconhelp")=="hide"){
document.write('<table width="140" border="0" cellspacing="0" cellpadding="1" bgcolor="#000099"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="0"><tr><td align="center"><img src="images/icons/information-only-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/secure-ordering-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/phone-ordering-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/free-delivery-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/customer-reviews-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/buyer-guides-16x16.gif" width="16" height="16"><br><a href=javascript:changeIconGuide("show"); class="linkblue">Show Feature Help</a></td></tr></table></td></tr></table></td></tr></table></center><!-- box end -->');
return true;
}
else {
if (check_cookies()=="Enabled") {hidestring='<a href=javascript:changeIconGuide("hide"); class="linkblue">Hide</a>'}else{hidestring='&nbsp;'};
document.write('<!-- icon header --><center><!--<table width="140" border="0" cellpadding="0" cellspacing="0" bgcolor="#000099"><tr><td align="left" valign="top"><img src="images/bluecornerleft.gif" width="14" height="20" border="0"></td><td align="center" class="fonticonstitle">Features Legend</td><td align="right" valign="top"><img src="images/bluecornerright.gif" width="14" height="20" border="0"></td></tr></table>--><table width="140" border="0" cellspacing="0" cellpadding="1" bgcolor="#000099"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="0"><!-- icons --><tr><td width="20"><img src="images/icons/information-only-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Information Only</td></tr><tr><td width="20"><img src="images/icons/secure-ordering-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Secure Online Ordering</td></tr><tr><td><img src="images/icons/phone-ordering-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Telephone Ordering</td></tr><tr><td><img src="images/icons/free-delivery-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Free Delivery</td></tr><tr><td><img src="images/icons/fast-delivery-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Express Delivery</td></tr><tr><td><img src="images/icons/worldwide-delivery-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Worldwide Delivery</td></tr><tr><td><img src="images/icons/gift-wrapping-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Gift Wrapping Service</td></tr><tr><td><img src="images/icons/customer-reviews-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Product Reviews</td></tr><tr><td><img src="images/icons/buyer-guides-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Buyer Guides</td></tr><tr><td><img src="images/icons/store-locator-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Store Locator</td></tr><tr><td><img src="images/icons/price-guarantee-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Price Guarantee</td></tr></table><!-- more link --><table width="100%" border="0" cellspacing="1" cellpadding="0"><tr><td align="left">'+hidestring+'</td><td align="right"><a href="help.html#features" class="linkblue">More Info</a></td></tr></table></td></tr></table></td></tr></table><!-- box end --><img src="images/markers/hot.gif" alt="Hot" width="31" height="12" border="0"><a href="/promotions/discount-codes-sales.html" target="_self" class="linkpromindex">Discount Codes, Sales &amp; Promos</a><br><img src="images/markers/new.gif" alt="New" width="31" height="12" border="0"><a href="mother-day-gifts.html" target="_self" class="linkpromindex">Mother Day Gifts</a><br>');}
}

function writeTravelIconGuide() {
document.write('<script type="text/javascript">var addthis_pub="bmacc100";var addthis_disable_flash = true;var addthis_options = \'facebook, twitter, digg, reddit, myspace, delicious, google, live, favorites, email, print, more\';</script><a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="images/share.png" width="125" height="16" border="0" style="border:0"></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script><br><br>');
if (readCookie("somucheasier_iconhelp")=="hide"){
document.write('<table width="140" border="0" cellspacing="0" cellpadding="1" bgcolor="#000099"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="0"><tr><td align="center"><img src="images/icons/information-only-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/secure-ordering-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/phone-ordering-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/high-street-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/buyer-guides-16x16.gif" width="16" height="16">&nbsp;<img src="images/icons/store-locator-16x16.gif" width="16" height="16"><br><a href=javascript:changeIconGuide("show"); class="linkblue">Show Feature Help</a></td></tr></table></td></tr></table></td></tr></table></center><!-- box end -->');
return true;
}
else {
if (check_cookies()=="Enabled") {hidestring='<a href=javascript:changeIconGuide("hide"); class="linkblue">Hide</a>'}else{hidestring='&nbsp;'};
document.write('<!-- icon header --><center><!--<table width="140" border="0" cellpadding="0" cellspacing="0" bgcolor="#000099"><tr><td align="left" valign="top"><img src="images/bluecornerleft.gif" width="14" height="20" border="0"></td><td align="center" class="fonticonstitle">Features Legend</td><td align="right" valign="top"><img src="images/bluecornerright.gif" width="14" height="20" border="0"></td></tr></table>--><table width="140" border="0" cellspacing="0" cellpadding="1" bgcolor="#000099"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="3" bgcolor="#FFFFFF"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="0"><!-- icons --><tr><td width="20"><img src="images/icons/information-only-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Information Only</td></tr><tr><td width="20"><img src="images/icons/secure-ordering-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Secure Online Ordering</td></tr><tr><td><img src="images/icons/phone-ordering-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Telephone Ordering</td></tr><tr><td><img src="images/icons/high-street-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">High Street Presence</td></tr><tr><td><img src="images/icons/customer-reviews-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Customer Reviews</td></tr><tr><td><img src="images/icons/buyer-guides-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Travel Guides</td></tr><tr><td><img src="images/icons/store-locator-16x16.gif" width="16" height="16"></td><td valign="middle" class="fonticons">Store Locator</td></tr></table><!-- more link --><table width="100%" border="0" cellspacing="1" cellpadding="0"><tr><td align="left">'+hidestring+'</td><td align="right"><a href="help.html#features" class="linkblue">More Info</a></td></tr></table></td></tr></table></td></tr></table></center><!-- box end -->');}
}

function changeIconGuide(status) {
if (status=="show"){
	writeCookie("somucheasier_iconhelp","show");
	window.location.reload();
	}
if (status=="hide"){
	writeCookie("somucheasier_iconhelp","hide");
	window.location.reload();
	}
}	

function writeUsrCookie(info) {
	if (check_cookies()=="Enabled") {writeCookie("somucheasier_usr",info)};
}

//-->