﻿// JavaScript File
var chrAT=String.fromCharCode(64);
var chrLT=String.fromCharCode(60);
var chrGT=String.fromCharCode(62);
var MyFormName="";

function FixEngine()
{
    try
    {
        var MyHash=location.hash;
        if (MyHash.indexOf("debug")>-1)
        {
            //checkbrowser();
            alert("Checking Browser");
            var uAgent=navigator.userAgent;
            if (uAgent.indexOf("AOLBuild")>-1)
            {
                alert("AOL Browser");
            }
            else
            {
                alert("Not AOL");
            }
        }
    } 
    catch(e) {alert(e);}

	MyFormName=document.getElementById("MyFormName").value + "";
	var BBDevice=Check_BB();
	//Determine media
	try
	{
		var media=CurrentMedia();
	}
	catch(e){alert("qq Error:"+e);}
	
	try
	{
		//add mail address (anti-hacker)
		var em=chrLT+"a id='A_Head_eMail' href='mai"+"lto:DavidStocksHyp"+chrAT+"ao"+"l.c"+"om' class='A_Head_eMail' title='Send an email to David Stocks'"+chrGT+"DavidStocksHyp"+chrAT+"ao"+"l.c"+"om"+chrLT+"/a"+chrGT;
		document.getElementById("Head_eMail").innerHTML=em;
		var Head_Phone=document.getElementById("Head_Phone");
		Head_Phone.innerHTML="0"+"138"+"3 8211"+"77";
	}
	catch(e){}
	
	try
	{
		if (media=="handheld" || (BBDevice))
		{
			var hh_eMail=document.getElementById("hh_eMail");
			var em="eMail: "+chrLT+"a href='mai"+"lto:DavidStocksHyp"+chrAT+"ao"+"l.c"+"om' class='hh_Head_eMail' title='Send an email to David Stocks'"+chrGT+"DavidStocksHyp"+chrAT+"ao"+"l.c"+"om"+chrLT+"/a"+chrGT;

			hh_eMail.innerHTML=em;
			//hh_eMail.innerHTML="eMail: <a href='mailto:David" + "Stocks" + "Hyp" + chrAT + "aol." + "c" + "om>David" + "Stocks" + "Hyp" + chrAT + "aol." + "c" + "om</a>";
			var hh_tel=document.getElementById("hh_tel");
			hh_tel.innerHTML="Tel: <a href='te" + "l:"+"+4"+"138"+"438211"+"77' class='phone-link'>"+"+4"+"4(0)"+"138"+"3 8211"+"77</a>";
		}
		else
		{
			document.getElementById("hh_goto_nav").style.visibility="hidden";
			document.getElementById("hh_goto_nav").style.display="none";
			document.getElementById("hh_MenuP").style.visibility="hidden";
			document.getElementById("hh_MenuP").style.display="none";
			document.getElementById("hh_MenuPositioner").style.visibility="hidden";
			document.getElementById("hh_MenuPositioner").style.display="none";
		}
	}
	catch(e){}
	
	if (MyFormName=="Default" || MyFormName=="ContactUs")
	{
		try
		{
			//add mail address (anti-hacker)
			em="David" + "Stocks" + "Hyp" + chrAT + "aol." + "c" + "om";
			document.getElementById("mail1").innerHTML=em;
		}
		catch(e){}
	}

	if (MyFormName=="ContactUs" || MyFormName=="Maps")
	{
		try
		{
			//add phone (anti-hacker)
			document.getElementById("tel").innerHTML="01" + "383 " +"821" + "177";
		}
		catch(e){}
	}
	
	var special=(
		   MyFormName=="default" 
		|| MyFormName=="About" 
		|| MyFormName=="PTSD-Fife" 
		|| MyFormName=="Hypnotherapy-Anxiety-Fife" 
		|| MyFormName=="Hypnotherapy-Phobia-Fife" 
		|| MyFormName=="Hypnotherapy-Panic-Attack-Fife" 
		|| MyFormName=="Hypnotherapy-PTSD-Fife" 
		|| MyFormName=="Hypnotherapy-IBS-Fife"
		|| MyFormName=="Hypnotherapy-Weight-Loss-Fife"
		|| MyFormName=="Hypnotherapy-IVF-Stress-Fife"
		|| MyFormName=="Hypnotist-Weight-Loss-Fife"
		|| MyFormName=="Hypnosis-Weight-Loss-Fife"
		|| MyFormName=="Hypnobirthing-Fife"
		|| MyFormName=="Stop-Smoking-Fife"
		|| MyFormName=="Website-Design"
		);
	if (special==true)
	{
		//remove going blocks + run MakeChanges()
		try
		{
			startClock();
		}
		catch(e){}
	}
}

function MakeChanges()	{
	for(var loop = 0; loop < maxblocks; loop++)
	{
		try
		{
			try
			{
				var goingid='going' + loop;
				var going=document.getElementById(goingid);
				going.classname="gone";
				going.style.display="none";
				going.style.visibility="hidden";
				going.innerHTML="";
			}
			catch(e){}
		}
		catch(e) {}
		try
		{
			var comingid='coming' + loop;
			var coming=document.getElementById(comingid);
			coming.classname="going";
			coming.style.display="";
			coming.style.visibility="visible";
		}
		catch(e){}
	}
	//Change individual PAGE headers *******
	// google hypnotherapy = hypnotist hypnosis is different
	if (MyFormName=="Hypnobirthing-Fife")
	{
		try
		{
			document.getElementById("Hypnobirthing-Fife1").innerHTML="";
			document.getElementById("Hypnobirthing-Fife2").innerHTML="";
			document.getElementById("Hypnobirthing-Fife3").innerHTML="";
			document.getElementById("Hypnobirthing-Fife4").innerHTML="";
			document.getElementById("Hypnobirthing-Fife5").innerHTML="";
			document.getElementById("Hypnobirthing-Fife6").innerHTML="";
			document.getElementById("Hypnobirthing-Fife7").innerHTML="";
			document.getElementById("Hypnobirthing-Fife8").innerHTML="";
			document.getElementById("Hypnobirthing-Fife9").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="Hypnotherapy-IVF-Stress-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-IVF-Stress-Fife1").innerHTML="";
			document.getElementById("Hypnotherapy-IVF-Stress-Fife2").innerHTML="IVF - Doubling Success Rates Using Hypnotherapy";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="Hypnotherapy-IBS-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-IBS-Fife1").innerHTML="IBS - Irritible Bowel Syndrome";
			document.getElementById("Hypnotherapy-IBS-Fife2").innerHTML="What Can It Treat?";
			document.getElementById("Hypnotherapy-IBS-Fife3").innerHTML="Top Consultant: &quot;IBS Hypnotherapy Helps 9 in 10&quot;";
			document.getElementById("Hypnotherapy-IBS-Fife4").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------	
	if (MyFormName=="Hypnotherapy-PTSD-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-PTSD-Fife1").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-PTSD-Fife2").innerHTML="Anxiety, Panic Attacks, Phobias and PTSD";
			document.getElementById("Hypnotherapy-PTSD-Fife3").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-PTSD-Fife4").innerHTML="panic attacks";
			document.getElementById("Hypnotherapy-PTSD-Fife5").innerHTML="";
			document.getElementById("Hypnotherapy-PTSD-Fife6").innerHTML="";
			document.getElementById("Hypnotherapy-PTSD-Fife7").innerHTML="anxiety";
			document.getElementById("Hypnotherapy-PTSD-Fife8").innerHTML="More information on Anxiety from Anxiety UK";
			document.getElementById("Hypnotherapy-PTSD-Fife9").innerHTML="Phobias, Anxiety & Panic Attacks";
			document.getElementById("Hypnotherapy-PTSD-Fife10").innerHTML="anxiety";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="Hypnotherapy-Anxiety-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-Anxiety-Fife1").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-Anxiety-Fife2").innerHTML="Anxiety, Panic Attacks, Phobias and PTSD";
			document.getElementById("Hypnotherapy-Anxiety-Fife3").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-Anxiety-Fife4").innerHTML="panic attacks";
			document.getElementById("Hypnotherapy-Anxiety-Fife5").innerHTML="";
			document.getElementById("Hypnotherapy-Anxiety-Fife6").innerHTML="";
			document.getElementById("Hypnotherapy-Anxiety-Fife7").innerHTML="anxiety";
			document.getElementById("Hypnotherapy-Anxiety-Fife8").innerHTML="More information on Anxiety from Anxiety UK";
			document.getElementById("Hypnotherapy-Anxiety-Fife9").innerHTML="Phobias, Anxiety & Panic Attacks";
			document.getElementById("Hypnotherapy-Anxiety-Fife10").innerHTML="anxiety";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	
	if (MyFormName=="Hypnotist-Weight-Loss-Fife")
	{
		try
		{
			document.getElementById("Hypnotist-Weight-Loss-Fife1").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife2").innerHTML="";
			document.getElementById("Hypnotist-Weight-Loss-Fife3").innerHTML="Slimming - Losing Weight with Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife4").innerHTML="";
			document.getElementById("Hypnotist-Weight-Loss-Fife5").innerHTML="";
			document.getElementById("Hypnotist-Weight-Loss-Fife6").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife7").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife8").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife9").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife10").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife11").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife12").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife13").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotist-Weight-Loss-Fife14").innerHTML="Hypnotherapy";
				} 
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="Hypnosis-Weight-Loss-Fife")
	{
		try
		{
			document.getElementById("Hypnosis-Weight-Loss-Fife1").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife2").innerHTML="";
			document.getElementById("Hypnosis-Weight-Loss-Fife3").innerHTML="Slimming - Losing Weight with Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife4").innerHTML="";
			document.getElementById("Hypnosis-Weight-Loss-Fife5").innerHTML="";
			document.getElementById("Hypnosis-Weight-Loss-Fife6").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife7").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife8").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife9").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife10").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife11").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife12").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife13").innerHTML="Hypnotherapy";
			document.getElementById("Hypnosis-Weight-Loss-Fife14").innerHTML="Hypnotherapy";
		} 
		catch(e){}
	}
	//-----------------------------------------------------
	
	if (MyFormName=="Hypnotherapy-Weight-Loss-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-Weight-Loss-Fife1").innerHTML="Hypnotherapy";
			document.getElementById("Hypnotherapy-Weight-Loss-Fife2").innerHTML="";
			document.getElementById("Hypnotherapy-Weight-Loss-Fife3").innerHTML="Slimming - Losing Weight with Hypnotherapy";
			document.getElementById("Hypnotherapy-Weight-Loss-Fife4").innerHTML="";
			document.getElementById("Hypnotherapy-Weight-Loss-Fife5").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	
	if (MyFormName=="Hypnotherapy-Panic-Attack-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-Panic-Attack-Fife1").innerHTML="";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife2").innerHTML="Anxiety, Panic Attacks, Phobias and PTSD";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife3").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife4").innerHTML="panic attacks";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife5").innerHTML="";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife6").innerHTML="";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife7").innerHTML="anxiety";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife8").innerHTML="More information on Anxiety from Anxiety UK";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife9").innerHTML="Phobias, Anxiety & Panic Attacks";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife10").innerHTML="panic attack";
			document.getElementById("Hypnotherapy-Panic-Attack-Fife11").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="Hypnotherapy-Phobia-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-Phobia-Fife1").innerHTML="Phobias";
			document.getElementById("Hypnotherapy-Phobia-Fife2").innerHTML="Phobias, Panic Attacks and PTSD";
			document.getElementById("Hypnotherapy-Phobia-Fife3").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-Phobia-Fife4").innerHTML="panic attacks";
			document.getElementById("Hypnotherapy-Phobia-Fife5").innerHTML="";
			document.getElementById("Hypnotherapy-Phobia-Fife6").innerHTML="";
			document.getElementById("Hypnotherapy-Phobia-Fife7").innerHTML="anxiety";
			document.getElementById("Hypnotherapy-Phobia-Fife8").innerHTML="More information on Phobias from Anxiety UK";
			document.getElementById("Hypnotherapy-Phobia-Fife9").innerHTML="Phobias, Anxiety & Panic Attacks";
			document.getElementById("Hypnotherapy-Phobia-Fife10").innerHTML="Phobia";
			document.getElementById("Hypnotherapy-Phobia-Fife11").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="Hypnotherapy-PTSD-Fife")
	{
		try
		{
			document.getElementById("Hypnotherapy-Phobia-Fife1").innerHTML="Phobias";
			document.getElementById("Hypnotherapy-Phobia-Fife2").innerHTML="Phobias, Panic Attacks and PTSD";
			document.getElementById("Hypnotherapy-Phobia-Fife3").innerHTML="Anxiety";
			document.getElementById("Hypnotherapy-Phobia-Fife4").innerHTML="panic attacks";
			document.getElementById("Hypnotherapy-Phobia-Fife5").innerHTML="";
			document.getElementById("Hypnotherapy-Phobia-Fife6").innerHTML="";
			document.getElementById("Hypnotherapy-Phobia-Fife7").innerHTML="anxiety";
			document.getElementById("Hypnotherapy-Phobia-Fife8").innerHTML="More information on Phobias from Anxiety UK";
			document.getElementById("Hypnotherapy-Phobia-Fife9").innerHTML="Phobias, Anxiety & Panic Attacks";
			document.getElementById("Hypnotherapy-Phobia-Fife10").innerHTML="Phobia";
			document.getElementById("Hypnotherapy-Phobia-Fife11").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="default")
	{
		try
		{
			document.getElementById("default1").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------
	if (MyFormName=="About")
	{
		try
		{
			document.getElementById("About1").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------

	if (MyFormName=="Website-Design")
	{
		try
		{
			document.getElementById("Website-Design1").innerHTML="";
		}
		catch(e){}
	}
	//-----------------------------------------------------

}


// startClock();
var intTimeOutSeconds=2;
var strTimeOutfont=10;
var maxblocks=10;
function startClock() {
	// Check for spider bots
	var uA=""+navigator.userAgent.toString().toLowerCase();
	//var IsNotSpiderBot=((uA.indexOf("crawl")==-1) && (uA.indexOf("search")==-1) && (uA.indexOf("bot")==-1) && (uA.indexOf("yell.com")==-1) && (uA.indexOf("java")==-1) && (uA.indexOf("spider")==-1) && (uA.indexOf("google")==-1) && (uA.indexOf("yahoo")==-1) && (uA.indexOf("msnbot")==-1));
	var IsNotSpiderBot=((uA.indexOf("crawl")==-1) && (uA.indexOf("wise-guys")==-1) && (uA.indexOf("bingbot")==-1) && (uA.indexOf("kilomonkey")==-1) && (uA.indexOf("healthhaven")==-1) && (uA.indexOf("panscient")==-1) && (uA.indexOf("twenga")==-1) && (uA.indexOf("baidu")==-1) && (uA.indexOf("soso")==-1) && (uA.indexOf("puritysearch")==-1) && (uA.indexOf("twenga")==-1) && (uA.indexOf("googlebot")==-1) && (uA.indexOf("adsbot-google")==-1) && (uA.indexOf("search")==-1) && (uA.indexOf("yandex")==-1) && (uA.indexOf("bot")==-1) && (uA.indexOf("yell")==-1) && (uA.indexOf("java")==-1) && (uA.indexOf("spider")==-1) && (uA.indexOf("google")==-1) && (uA.indexOf("yahoo")==-1) && (uA.indexOf("msnbot")==-1));
	if(IsNotSpiderBot==true)
	{
		intTimeOutSeconds=intTimeOutSeconds-1;
		if (intTimeOutSeconds<1)
		{
			MakeChanges();
			return true;
		}
		else
		{  
			timerID=setTimeout("startClock()", 500);
		}
	}
}

function ShowFrame_IVF()	{
	document.getElementById("iFrame_IVF").src="http://news.bbc.co.uk/1/hi/health/3849727.stm";
	document.getElementById("btnShowFrame_IVF").disabled=true;
}

function ShowFrame_IBS()	{
	document.getElementById("iFrame_IBS").src="http://news.bbc.co.uk/1/hi/health/8572818.stm";
	document.getElementById("btnShowFrame_IBS").disabled=true;
}
function ShowFrame_IVF()	{
	document.getElementById("iFrame_IVF").src="http://news.bbc.co.uk/1/hi/health/3849727.stm";
	document.getElementById("btnShowFrame_IVF").disabled=true;
}
function ShowFrame_Pregnancy()	{
	document.getElementById("iFrame_Pregnancy").src="http://news.bbc.co.uk/1/hi/scotland/4593427.stm";
	document.getElementById("btnShowFrame_Pregnancy").disabled=true;
	document.getElementById("btnShowFrame_PregCaseStudy").disabled=false;
}
function ShowFrame_PregCaseStudy()	{
	document.getElementById("iFrame_Pregnancy").src="http://news.bbc.co.uk/1/hi/health/2136691.stm";
	document.getElementById("btnShowFrame_PregCaseStudy").disabled=true;
	document.getElementById("btnShowFrame_Pregnancy").disabled=false;
}

function Check_BB()	
{
	var deviceBB = "blackberry";

	//Initialize our user agent string to lower case.
	var uagent = navigator.userAgent.toLowerCase();
	//**************************
	// Detects if the current browser is a BlackBerry of some sort.
	var BBDevice=(uagent.search(deviceBB) > -1);

	if (BBDevice)
	{
		try
		{
			document.getElementById("hh_headerImgBar").style.visibility="visible";
			document.getElementById("hh_headerImgBar").style.display="";
			document.getElementById("hh_headerImgBar").style.width=478;
			
			document.body.style.fontFamily="arial, sans-serif";
			document.body.style.fontSize="20px";
			document.body.style.font="20px arial, sans-serif;";
			document.body.style.width="459px";
			document.body.style.padding=0;
			document.body.style.margin=20;

			var max_width = 450;
			var i,L=document.images.length;
			for(i=0;i<L;++i){
				if(document.images[i].width > max_width) {
					try
					{
						document.images[i].width = max_width;
					} catch(e){}
				}
			}
			document.getElementById("TopSection").style.visibility="hidden";
			document.getElementById("TopSection").style.display="none";
			
			try
			{
			document.getElementById("are_you_suffering").innerHTML="Are You Suffering?";
			} catch(e){}

			document.getElementById("divYouAreHere").style.paddingTop ="3px";
			document.getElementById("divYouAreHere").style.left="0";
			
			document.getElementById("h1_PageHeading").style.paddingTop ="0";
			document.getElementById("h1_PageHeading").style.position="static";
			document.getElementById("h1_PageHeading").style.left="0";
			try
			{
				document.getElementById("h1_PageHeading1").style.paddingTop ="0";
				document.getElementById("h1_PageHeading1").style.position="static";
				document.getElementById("h1_PageHeading1").style.left="0";
			} catch(e){}
			
			document.getElementById("hh_goto_nav").style.visibility="visible";
			document.getElementById("hh_goto_nav").style.display="";
			document.getElementById("hh_goto_nav").style.width=478;
			
			try
			{
			document.getElementById("FB_Testimonials_top").style.display="none";
			document.getElementById("FB_Testimonials_top").style.visibility="hidden";
			} catch(e){}
			
			try
			{
			document.getElementById("FB_Like").style.display="none";
			document.getElementById("FB_Like").style.visibility="hidden";
			} catch(e){}
			
			try
			{
			;document.getElementById("hh_FB_Like").style.width=478;
			document.getElementById("hh_FB_Like").style.textAlign="center";
			} catch(e){}

			try
			{
			document.getElementById("FB_Testimonials_bottom").style.width="478px";
			document.getElementById("FB_Testimonials_bottom").style.textAlign="center";
			document.getElementById("UpdateTable").style.width="478px";
			document.getElementById("tbl_waiting").style.width="478px";
			document.getElementById("buttons").style.width="478px";
			document.getElementById("tblMainTestimonialList").style.width="478px";
			document.getElementById("divMainTestimonialList").style.width="470px"; 
			} catch(e){}
			
			//The IE Syntax:
			//	document.getElementById("FB_Comment").style.styleFloat = "none";
			//The Firefox Syntax:
			//	document.getElementById("FB_Comment").style.cssFloat = "none"
			try
			{
			document.getElementById("FB_Comment").style.display="none";
			document.getElementById("FB_Comment").style.visibility="hidden";
			
			document.getElementById("hh_FB_Comment").style.borderRight="blue thin solid";
			document.getElementById("hh_FB_Comment").style.borderTop="blue thin solid";
			document.getElementById("hh_FB_Comment").style.borderLeft="blue thin solid";
			document.getElementById("hh_FB_Comment").style.borderBottom="blue thin solid";
			document.getElementById("hh_FB_Comment").style.width=478;
			document.getElementById("hh_FB_Comment").style.textAlign="center";
			} catch(e){}
			
			document.getElementById("hh_MenuP").style.visibility="visible";
			document.getElementById("hh_MenuP").style.display="";
			document.getElementById("hh_MenuP").style.width=478;
			document.getElementById("hh_MenuP").style.textAlign="center";
		
			document.getElementById("hh_MenuPositioner").style.textAlign="justify";
			document.getElementById("hh_MenuPositioner").style.width=478;
			document.getElementById("hh_MenuPositioner").style.visibility="visible";
			document.getElementById("hh_MenuPositioner").style.display="";
						
			document.getElementById("column_95pc").style.width=478;
			document.getElementById("column_95pc").style.paddingRight="30px";
			document.getElementById("column_95pc").style.top="53px";
		}
		catch(e)
		{alert("Check_BB Error:"+e);} //qq
	} //end if (BBDevice)
	return BBDevice;
}
