	Event.observe(window, 'load', init, false);
	
	var quote = false;
	
	function init(){

	try {
	
	$('signup_button').className = 'tabselected';
	$('follow_button').className = 'tabout';
	$('shout_button').className = 'tabout';
	$('signup').style.visibility = 'visible';
	$('syndicate').style.visibility = 'hidden';
	$('shout').style.visibility = 'hidden';
	
	$('signup_button').observe('click', function()
	{  
	$('signup_button').className = 'tabselected';
	$('follow_button').className = 'tabout';
	$('shout_button').className = 'tabout';
	$('signup').style.visibility = 'visible';
	$('syndicate').style.visibility = 'hidden';
	$('shout').style.visibility = 'hidden';
	});
	
	$('follow_button').observe('click', function()
	{
	$('signup_button').className = 'tabout';
	$('follow_button').className = 'tabselected';
	$('shout_button').className = 'tabout';
	$('signup').style.visibility = 'hidden';
	$('syndicate').style.visibility = 'visible';
	$('shout').style.visibility = 'hidden';
	});
	
	$('shout_button').observe('click', function()
	{
	$('signup_button').className = 'tabout';
	$('follow_button').className = 'tabout';
	$('shout_button').className = 'tabselected';
	$('signup').style.visibility = 'hidden';
	$('syndicate').style.visibility = 'hidden';
	$('shout').style.visibility = 'visible';
	});
	
	} catch (e) {}
	
	
	try {
  $('searchButton').observe('click', function()
	{
    if($F('CAT_Search').length < 1) {
      $('CAT_Search').style.backgroundColor = '#D01A55';
      Effect.Pulsate('CAT_Search', { pulses: 1, duration: 1 });
      setTimeout("$('CAT_Search').style.backgroundColor='#AAAAAA'",1000);
    } else {
      document.catsearchform69165.submit();
    }
	});
	
  if(quote) {
    $('quoteDrop').style.visibility = 'visible';
	}
	
	}  catch (e) {}
	
	try {
	  	
  	$('resetbutton').observe('click', function()
  	{
  	try {
      $('sign_up_form').reset();
  	} catch (e) {
      $('reffer_form').reset();
    }
  	});
  	
	} catch (e) {}
	  
  try {
    
    if (activeButton != '') {
    
      $(activeButton).className='levelOneButton_over_fashion';
    
    }
  } catch (e) {}
  
	}
	
	function comments(form) {

	validated = true;
	
	var msg = "";

	if ($F(form.fullname).length < 1) {
  	form.fullname.style.backgroundColor = '#D01A55';
  	form.fullname.style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "First name\n";
	} else {
  	form.fullname.style.backgroundColor = '#FFFFFF'
  	form.fullname.style.color="#000000";
	}

	if (!emailCheck($F(form.emailaddress))) {
  	form.emailaddress.style.backgroundColor = '#D01A55';
  	form.emailaddress.style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Email\n";
	} else {
  	form.emailaddress.style.backgroundColor = '#FFFFFF'
  	form.emailaddress.style.color="#000000";
	}
	
	if ($F(form.Captcha) != $F(form.CaptchaH)) {
  	form.Captcha.style.backgroundColor = '#D01A55';
  	form.Captcha.style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Image is wrong\n";
	} else {
  	form.Captcha.style.backgroundColor = '#FFFFFF'
  	form.Captcha.style.color="#000000";
	}

	if ($F(form.Feedback).length < 1) {
  	form.Feedback.style.backgroundColor = '#D01A55';
  	form.Feedback.style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Last name\n";
	} else {
  	form.Feedback.style.backgroundColor = '#FFFFFF'
  	form.Feedback.style.color="#000000";
	}

	if(!validated) {
  	alert('Please complete the required fields:\n' + msg);
	}
	
	return validated;
	
  }
  
  function reffer() {

	validated = true;
	
	var msg = "";
	
	if ($F('RFFullName').length < 1) {
  	$('RFFullName').style.backgroundColor = '#D01A55';
  	$('RFFullName').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Your name\n";
	} else {
  	$('RFFullName').style.backgroundColor = '#FFFFFF'
  	$('RFFullName').style.color="#000000";
	}

	if (!emailCheck($F('RFEmailAddress'))) {
  	$('RFEmailAddress').style.backgroundColor = '#D01A55';
  	$('RFEmailAddress').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Your email\n";
	} else {
  	$('RFEmailAddress').style.backgroundColor = '#FFFFFF'
  	$('RFEmailAddress').style.color="#000000";
	}
	
	var k = 0;
	
	for (i=1;i<=5;i++) {
	 if ($F('RFFriend0' + i).length > 1) {
  	 if (emailCheck($F('RFFriend0' + i))) {
  	   k = k + 1;
    	$('RFFriend0' + i).style.backgroundColor = '#FFFFFF'
    	$('RFFriend0' + i).style.color="#000000";
  	 } else {
    	validated = false;
    	msg = msg + "Friend #no" + i + " email incorrect\n";
      $('RFFriend0' + i).style.backgroundColor = '#D01A55';
      $('RFFriend0' + i).style.color="#FFFFFF";
     }
	 }
	}
	if (k == 0) {
    validated = false;
    msg = msg + "You must reffer at least one friend\n";
    $('RFFriend01').style.backgroundColor = '#D01A55';
    $('RFFriend01').style.color="#FFFFFF";
  } else {
    $('RFFriend01').style.backgroundColor = '#FFFFFF'
    $('RFFriend01').style.color="#000000";
  }
  
  /*
	if ($F('RFMessage').length < 1) {
  	$('RFMessage').style.backgroundColor = '#D01A55';
  	$('RFMessage').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "There is no message to friend\n";
	} else {
  	$('RFMessage').style.backgroundColor = '#FFFFFF'
  	$('RFMessage').style.color="#000000";
	}
	*/
	if(!validated) {
  	alert('Please complete the required fields:\n' + msg);
	}
	
	return validated;
	
  }
  
  
	function signupForm() {
	
	validated = true;
	
	var msg = "";
	
	if ($F('FirstName').length < 1) {
  	$('FirstName').style.backgroundColor = '#D01A55';
  	$('FirstName').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "First name\n";
	} else {
  	$('FirstName').style.backgroundColor = '#FFFFFF'
  	$('FirstName').style.color="#000000";
	}
	
	if ($F('LastName').length < 1) {
  	$('LastName').style.backgroundColor = '#D01A55';
  	$('LastName').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Last name\n";
	} else {
  	$('LastName').style.backgroundColor = '#FFFFFF'
  	$('LastName').style.color="#000000";
	}
	
	if (!emailCheck($F('EmailAddress'))) {
  	$('EmailAddress').style.backgroundColor = '#D01A55';
  	$('EmailAddress').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Email\n";
	} else {
  	$('EmailAddress').style.backgroundColor = '#FFFFFF'
  	$('EmailAddress').style.color="#000000";
	}
	
	if ($F('HomeState') == "---") {
  	$('HomeState').style.backgroundColor = '#D01A55';
  	$('HomeState').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "State\n";
	} else {
  	$('HomeState').style.backgroundColor = '#FFFFFF'
  	$('HomeState').style.color="#000000";
	}

	if ($F('HomeCity') == "---") {
  	$('HomeCity').style.backgroundColor = '#D01A55';
  	$('HomeCity').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "City\n";
	} else {
  	$('HomeCity').style.backgroundColor = '#FFFFFF'
  	$('HomeCity').style.color="#000000";
	}
  
	if ($F('HomeZip').length != 4) {
  	$('HomeZip').style.backgroundColor = '#D01A55';
  	$('HomeZip').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Postcode\n";
	} else {
  	$('HomeZip').style.backgroundColor = '#FFFFFF'
  	$('HomeZip').style.color="#000000";
	}
	
	if ($('CAT_Custom_88906_0').checked == false && $('CAT_Custom_88906_1').checked == false) {
  	validated = false;
  	msg = msg + "Gender\n";
	}
	
	if ($F('DOB').length < 1) {
  	$('DOB').style.backgroundColor = '#D01A55';
  	$('DOB').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "Date of birth\n";
	} else {
  	$('DOB').style.backgroundColor = '#FFFFFF'
  	$('DOB').style.color="#000000";
	}
	
	if ($F('CAT_Custom_88905') == "---") {
  	$('CAT_Custom_88905').style.backgroundColor = '#D01A55';
  	$('CAT_Custom_88905').style.color="#FFFFFF";
  	validated = false;
  	msg = msg + "How did you hear about Rescu\n";
  	validated = false;
	} else {
  	$('CAT_Custom_88905').style.backgroundColor = '#FFFFFF'
  	$('CAT_Custom_88905').style.color="#000000";
	}
	
	if(!validated) {
	alert('Please complete the required fields:\n' + msg);
	} else {
    alert('Thank you for registering with Rescu.');
  }
	
	return validated;
	
	}
	
	function emailCheck (email)
	{
	emailRegExp=new RegExp (/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i);
	if(emailRegExp.test(email)) {
	return true;
	} else {
	return false;
	}
	}
	
	function dropBox(id)
	{
	new Effect.toggle(id, 'slide', { delay: 0.5 });
	}
	
	function hideBox(id)
	{
	new Effect.SlideUp(id, { duration: 1 });
	}
	
	function pageAttrib(rescuLoc) {
		//alert(rescuLoc);
	switch(rescuLoc.toLowerCase())
	{
	case "fashion week, new york sept 10-17":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week new york":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week, london sept 18-24":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week london":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week, milan sept 25 to oct 1":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week milan":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week, paris oct 1-oct 8":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "fashion week paris":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	//fashion
	case "testing":
	rescuPageCss = "testing";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	
	
	
	
	
	
	case "gallery":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "competition":
	rescuPageCss = "competition";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'dealsButton';
	break;
	case "fashion":
	rescuPageCss = "fashion";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "fashion-directory":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "glamour":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "stylist":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "elegance":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "celebrity beauty":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	case "celebrity spotlight":
	rescuPageCss = "celebrity";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "shopping":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	//beauty
	case "beauty":
	rescuPageCss = "beauty";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	
	
	
	//Culture
	case "culture":
	rescuPageCss = "culture";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "culture council":
	rescuPageCss = "culture";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'cultureButton';
	break;
	case "travel":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "book":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "food":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "joanna hall":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'cultureButton';
	break;
	case "sophie groom":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'cultureButton';
	break;
	case "etiquette":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "now showing":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	case "six senses":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	quote = true;
	break;
	
	
	
	case "beauty council":
	rescuPageCss = "beauty";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "product reviews":
	rescuPageCss = "review";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "hair":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "best of beauty":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "cosmetic surgery":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	//wealth
	case "wealth":
	rescuPageCss = "wealth";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	quote = true;
	break;
	case "wealth council":
	rescuPageCss = "wealth";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	case "finance":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	case "money":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	case "property":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	case "recessionista":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	case "career":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	//health
	case "body":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	case "diet":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	case "health":
	rescuPageCss = "health";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	quote = true;
	break;
	case "health council":
	rescuPageCss = "health";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	case "nutrition and diet":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	case "fitness and exercise":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	case "confidence":
	rescuPageCss = "expert";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	case "wellbeing":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	break;
	//love
	case "love":
	rescuPageCss = "love";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	quote = true;
	break;
	case "love council":
	rescuPageCss = "love";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	case "dating and romance":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	case "do not disturb":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	case "relationships":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	case "romance":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	//astroglogy
	case "astrology":
	rescuPageCss = "default";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	//headlines
	
	//council
	case "sixsenses":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	
	case "tali shine":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "mark kohout":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "joh bailey":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "alex perry":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "jayson brunsdon":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "jane johnston":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	break;
	case "glenn nutley":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'beautyButton';
	break;
	case "john mcgrath":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	break;
	case "kathryn eisman":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	case "kathryn eisman bio":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'loveButton';
	break;
	case "alex perry":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'fashionButton';
	
	break;
	case "bella gill":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	
	break;
	case "zoe bingley-pullin":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	
	break;
	case "kris abbey":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'healthButton';
	
	break;  
	case "anthony bell":
	rescuPageCss = "blog";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'wealthButton';
	
	break;  
	//sign up
	case "sign up":   
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;  
	//tell your friends
	case "tell your friends":   
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;  

	//deals and steals
	case "deals and steals":
	rescuPageCss = "deals";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'dealsButton';
	quote = true;
	break;
	//events
	case "events":
	rescuPageCss = "events";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	activeButton = 'eventsButton';
	quote = true;
	break;
	
	//forum
	case "forum":
	rescuPageCss = "default";     
	top300 = 2;
	bottom300 = 4;
	top720 = 1;
	bottomSmall300 = 3;
	break;
	default:
	rescuPageCss = window.rescuPageCss || "default";
	top300 = window.top300 || 2;
	bottom300 = window.bottom300 || 4;
	top720 = window.top720 || 1;
	bottomSmall300 = window.bottomSmall300 || 3;
	}
	
	}