//** Code For Scroll Menu **//
var scrollerdelay='3000' ;
var scrollerwidth='500px' ;
var scrollheight='50px' ;


//Scroll Text
var messages=new Array();

messages[0]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Are You Emotionally Balanced?</font><font color='#996600'> Balance Your Emotions NOW!</font></b></font></center>" ;
messages[1]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Which link your health chain needs?</font><br><font color='#996600'>'Positive Vibrations' is the missing link...!</font></b></font></center>" ;
messages[2]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Behavior is treat-less!</font><font color='#996600'> There are many other ways!</font></b></font></center>" ;
messages[3]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Your WILL dictates your WAYS</font><font color='#996600'> and we recharge you WILL!</font></b></font></center>" ;
messages[4]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Why worry makes you weary?</font><font color='#996600'> There is very simple theory..!</font></b></font></center>" ;
messages[5]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Fear - Phobia bother why?</font><font color='#996600'> Feel Relaxed and Skip High..!</font></b></font></center>" ;
messages[6]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Bedwetting muddle lost to shame!</font><br><font color='#996600'>Baby is always right..!! Whom to Blame?</font></b></font></center>" ;
messages[7]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Tutor, counselors all the time...!</font><font color='#996600'> Why your child doesn't shine?</font></b></font></center>" ;
messages[8]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Very weak in decision making…</font><br><font color='#996600'> Be an executive who always shines!</font></b></font></center>" ;
messages[9]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Uncontrolled desire of surfing ... Chatting?</font><br><font color='#996600'>Slow at work but sharp in dawdling!</font></b></font></center>" ;
messages[10]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Lovesick - Break heart - Breach of promise...!</font><br><font color='#996600'>Don't be frustrate… get rid of it!</font></b></font></center>" ;
messages[11]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Shed your shy... Blossom the sky...</font><font color='#996600'> Don't worry, we let you Fly...!</font></b></font></center>" ;
messages[12]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Can Zero be better than Minus?</font><br><font color='#996600'>Yes - Lessen your Negative Emotions.!</font></b></font></center>" ;
messages[13]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Negative approach towards life,</font><br><font color='#996600'>May wrecks your entire psyche!</font></b></font></center>" ;
messages[14]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Terror - Panic once in a life,</font><font color='#996600'> May change your entire psyche..!</font></b></font></center>" ;
messages[15]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Don't get confused, never dither…</font><br><font color='#996600'> Open your mind, There is a cure!</font></b></font></center>" ;
messages[16]="<center> <font face='Arial' size='3'><b><font color='#FF3300'>Floral essence thrice a day... </font><br><font color='#996600'>Molds the psyche in a positive way ...!!</font></b></center>" ;

// Main Procedure //

var ie=document.all ;
var dom=document.getElementById ;

if (messages.length>2)
	i=2
else
	i=0

function scrollmove1(whichlayer){
	tmplayer=eval(whichlayer)
	if (tmplayer.top>0&&tmplayer.top<=5){
		tmplayer.top=0
		setTimeout("scrollmove1(tmplayer)",scrollerdelay)
		setTimeout("scrollmove2(document.main.document.second)",scrollerdelay)
		return
	}

	if (tmplayer.top>=tmplayer.document.height*-1){
		tmplayer.top-=5
		setTimeout("scrollmove1(tmplayer)",50)
	}
	else{
		tmplayer.top=parseInt(scrollheight)
		tmplayer.document.write(messages[i])
		tmplayer.document.close()

	if (i==messages.length-1)
		i=0
	else
		i++
	}
}

function scrollmove2(whichlayer){
	tmplayer2=eval(whichlayer)
	if (tmplayer2.top>0&&tmplayer2.top<=5){
		tmplayer2.top=0
		setTimeout("scrollmove2(tmplayer2)",scrollerdelay)
		setTimeout("scrollmove1(document.main.document.first)",scrollerdelay)
		return
	}
	if (tmplayer2.top>=tmplayer2.document.height*-1){
		tmplayer2.top-=5
		setTimeout("scrollmove2(tmplayer2)",50)
	}
	else{
		tmplayer2.top=parseInt(scrollheight)
		tmplayer2.document.write(messages[i])
		tmplayer2.document.close()
	if (i==messages.length-1)
		i=0
	else
		i++
	}
}

function scrollmove3(whichdiv){
	tdiv=eval(whichdiv)
	if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){
		tdiv.style.top=0+"px"
		setTimeout("scrollmove3(tdiv)",scrollerdelay)
		setTimeout("scrollmove4(second2_obj)",scrollerdelay)
		return
	}
	if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){
		tdiv.style.top=parseInt(tdiv.style.top)-5+"px"
		setTimeout("scrollmove3(tdiv)",50)
	}
	else{
		tdiv.style.top=parseInt(scrollheight)
		tdiv.innerHTML=messages[i]
	if (i==messages.length-1)
		i=0
	else
	i++
	}
}

function scrollmove4(whichdiv){
	tdiv2=eval(whichdiv)
	if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){
		tdiv2.style.top=0+"px"
		setTimeout("scrollmove4(tdiv2)",scrollerdelay)
		setTimeout("scrollmove3(first2_obj)",scrollerdelay)
		return
	}
	if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){
		tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"
		setTimeout("scrollmove4(second2_obj)",50)
	}
	else{
		tdiv2.style.top=parseInt(scrollheight)
		tdiv2.innerHTML=messages[i]
	if (i==messages.length-1)
		i=0
	else
		i++
	}
}

function startscrolling(){
	if (ie||dom){
		first2_obj=ie? first2 : document.getElementById("first2")
		second2_obj=ie? second2 : document.getElementById("second2")
		scrollmove3(first2_obj)
		second2_obj.style.top=scrollheight
		second2_obj.style.visibility='visible'
	}
	else if (document.layers){
		document.main.visibility='show'
		scrollmove1(document.main.document.first)
		document.main.document.second.top=parseInt(scrollheight)+5
		document.main.document.second.visibility='show'
	}
}

window.onload=startscrolling ;

//End Code For Scroll Menu  