

function OpenWindow(theURL,winName,features)
{appWindow = window.open(theURL,winName,features);
appWindow.focus();}


function walkOver(src,clearOver){
if (!src.contains(event.fromElement)){
	src.style.cursor = 'hand'; 
	src.bgColor = clearOver;}}


function walkOut(src,clearIn)
{if (!src.contains(event.toElement))
{src.style.cursor = 'default';
src.bgColor = clearIn;}}


function walkClick(src)
{if(event.srcElement.tagName=='TD')
{src.children.tags('A')[0].click();}}

if (parent.frames.length > 0) {
parent.location.href = location.href;}

function CenterPopUp() {
	var PopWidth;
	var PopHeight;
	PopWidth = (window.screen.width/2) - (122 + 15); //half the screen width minus half the new window width (plus 5 pixel borders).
	PopHeight = (window.screen.height/2) - (27 + 75); //half the screen height minus half the new window height (plus title and status bars).
	var TheWindow = window.open("soon.htm","Window2","status,height=250,width=390,resizable=no,toolbar=no,location=no,left=" + PopWidth + ",top=" + PopHeight + ",screenX=" + PopWidth + ",screenY=" + PopHeight + ",scrollbars=no");
	TheWindow.focus();}
	
	function walkOverNew(src,clearOver)
{if (!src.contains(event.fromElement))
{src.style.cursor = 'hand'; src.bgColor = clearOver;}}

function walkOutNew(src,clearIn)
{if (!src.contains(event.toElement))
{src.style.cursor = 'default';
src.bgColor = clearIn;}}

function walkClickNew(src)
{if(event.srcElement.tagName=='TD')
{src.children.tags('A')[0].click();}}


var message= new Array()

// Configure each message below like this:
// message[indexnumber]="text of title|text of copy|URL of link"
// You may add as many messages as you like.

message[0]="PROPERTY MANAGERS - Opportunity To Increase Desirability and Revenue| |PropertyManagement"

message[1]="CONDIMINIUM OWNERS - Increase The Value of Your Property with Digital Convenience| |PropertyManagement"

message[2]="APARTMENT RENTERS - Experience The Convenience of Digital Access ...and Buyer Rewards!| |bundle.htm"

message[3]="B u y e r s S u i t e  - Goods and Services - Bulk Purchasing Powered By Suite Systems Inc.| |buyerssuite"

message[4]="C l u b S u i t e  - Rewards Program That Saves You Money!| |clubsuite"

message[5]="PROPERTY MANAGERS - Opportunity To Increase Desirability and Revenue| |PropertyManagement"

message[6]="i S u i t e  - High Speed Internet Access Powered By Suite Systems Inc.| |isuite"

message[7]="S h o w S u i t e  - Full Video On Demand Service Powered By Suite Systems Inc.| |buyerssuite"

message[8]="PROPERTY MANAGERS - Opportunity To Increase Desirability and Revenue| |PropertyManagement"

message[9]="S u i t e B y t e  - Full Application Service Provider| |suitebyte"

message[10]="S u i t e e  - Customized e-commerce On-Line Portal| |suitee"

message[11]="S u i t e G e n i e  - Always On, In-Suite Internet Appliance| |suitegenie"

message[12]="PROPERTY MANAGERS - Opportunity To Increase Desirability and Revenue| |PropertyManagement"

message[13]="S u i t e P l a y  - Full Array of Games and Entertainment Powered By Suite Systems Inc.| |suiteplay"

message[14]="S u i t e T e l  - Full Telephony Offering| |suitetel"

message[15]="S u i t e T V  - Crystal Clear Digital Television with CD Quality Sound| |suitetv"


// height of the scrollerbox (pixels)
var scrollerheight=26

// width of the titlezone (pixels)
var titlezonewidth=559

// width of the copyzone (pixels)
var copyzonewidth=1

// horizonal position: distance to the top border of the window (pixels)
var scrollertop=4

// vertical position: distance to the left border of the window (pixels)
var scrollerleft=6

// borderwidth of the scroller
var scrollerborder=3

// backgroundcolor for the titlezone
var titlezonebg="330066"

// backgroundcolor for the copyzone
var copyzonebg="330066"

// backgroundcolor for the scroller
var scrollbg="AAAAAA"

// The target of your links
// possible values are '_blank', '_self', '_top', '_parent' or the name of
// the target window for instance 'main'
var targetlink="_self"

// font attributes of the title
var font_titleface="Arial"
var font_titlecolor="FFFFFF"
var font_titlesize=1

// font attributes of the copytext
var font_copyface="Verdana"
var font_copycolor="FFFFFF"
var font_copysize=1

// set 1 for bold title, set 0 for normal title
var titlebold=1

// set 1 for bold copy, set 0 for normal copy
var copybold=1

// set 'right', 'left' or 'center' to align the title
var titlealign="left"

// set 'right', 'left' or 'center' to align the copy
var copyalign="left"

// standstill between the messages (milliseconds)
var standstill=3500

// Do not edit below this line
var pre_titlebold
var after_titlebold
var pre_copybold
var after_copybold

var cliptop=0
var clipbottom=0
var clipleft=0
var clipright=titlezonewidth+copyzonewidth

var i_message=0
var mes_joined
var mes_split
var contenttext
var contentbg=""

var step=1
var pause=20

if (titlebold==1) {
	pre_titlebold="<b>"
	after_titlebold="</b>"
}
else if (titlebold==0) {
	pre_titlebold=""
	after_titlebold=""
}

if (copybold==1) {
	pre_copybold="<b>"
	after_copybold="</b>"
}
else if (copybold==0) {
	pre_copybold=""
	after_copybold=""
}

function initiate() {
		mes_joined=message[i_message]
		mes_split=mes_joined.split("|")
		
		contenttext="<table cellpadding=4 cellspacing=0 border=0>"
		contenttext+="<tr valign='top'>"
		contenttext+="<td align="+titlealign+" width="+titlezonewidth+" height='"+scrollerheight+"' bgcolor='"+titlezonebg+"'>"
		contenttext+="<a href='"+mes_split[2]+"' target='"+targetlink+"'>"
		contenttext+="<font face='"+font_titleface+"' color='"+font_titlecolor+"' size='"+font_titlesize+"'>"
		contenttext+=pre_titlebold
		contenttext+=mes_split[0]
		contenttext+=after_titlebold
		contenttext+="</font></a></td>"
		contenttext+="<td align="+copyalign+" width="+copyzonewidth+" height='"+scrollerheight+"' bgcolor='"+copyzonebg+"'>"
		contenttext+="<font face='"+font_copyface+"' color='"+font_copycolor+"' size='"+font_copysize+"'>"
		contenttext+=pre_copybold
		contenttext+=mes_split[1]
		contenttext+=after_copybold
		contenttext+="</font></td></tr>"
		contenttext+="</table>"
		
		var bg_width=titlezonewidth+copyzonewidth+2*scrollerborder
		var bg_height=scrollerheight+2*scrollerborder
		
		contentbg="<table width="+bg_width+" height='"+bg_height+"' cellpadding=0 cellspacing=0 border='"+scrollerborder+"'><tr><td bgcolor='"+scrollbg+"'>&nbsp;</td></tr></table>"
	
	if (document.all) {
		scrollertext.innerHTML=contenttext
		scrollerbg.innerHTML=contentbg
		document.all.scrollertext.style.posTop=scrollertop+scrollerheight
		document.all.scrollertext.style.posLeft=scrollerleft
		document.all.scrollerbg.style.posTop=scrollertop-scrollerborder
		document.all.scrollerbg.style.posLeft=scrollerleft-scrollerborder
		document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
		scrollin()
	}
	if (document.layers) {
		document.scrollertext.document.write(contenttext)
		document.scrollertext.document.close()
		document.scrollerbg.document.write(contentbg)
		document.scrollerbg.document.close()
		document.scrollertext.top=scrollertop+scrollerheight
		document.scrollertext.left=scrollerleft
		document.scrollerbg.top=scrollertop-scrollerborder
		document.scrollerbg.left=scrollerleft-scrollerborder
		document.scrollertext.clip.left=clipleft
        document.scrollertext.clip.right=clipright
        document.scrollertext.clip.top=cliptop
        document.scrollertext.clip.bottom=clipbottom
		scrollin()
	}
}

function scrollin(){
	if (document.all){
		if (document.all.scrollertext.style.posTop>scrollertop) {
			clipbottom+=step
			document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
			document.all.scrollertext.style.posTop-=step
			var timer=setTimeout("scrollin()",pause)
		}
		else {
			clearTimeout(timer)
			var timer=setTimeout("scrollout()",standstill)
		}
	}
	if (document.layers){
		if (document.scrollertext.top>scrollertop) {
			clipbottom+=step
			document.scrollertext.clip.left=clipleft
        	document.scrollertext.clip.right=clipright
        	document.scrollertext.clip.top=cliptop
        	document.scrollertext.clip.bottom=clipbottom
			document.scrollertext.top-=step
			var timer=setTimeout("scrollin()",pause)
		}
		else {
			clearTimeout(timer)
			var timer=setTimeout("scrollout()",standstill)
		}
	}
}

function scrollout(){
	if (document.all){
		if (document.all.scrollertext.style.posTop>(scrollertop-scrollerheight)) {
			cliptop+=step
			document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
			document.all.scrollertext.style.posTop-=step
			var timer=setTimeout("scrollout()",pause)
		}
		else {
			clearTimeout(timer)
			changemessage()
		}
	}
	if (document.layers){
		if (document.scrollertext.top>(scrollertop-scrollerheight)) {
			cliptop+=step
			document.scrollertext.clip.left=clipleft
        	document.scrollertext.clip.right=clipright
        	document.scrollertext.clip.top=cliptop
        	document.scrollertext.clip.bottom=clipbottom
			document.scrollertext.top-=step
			var timer=setTimeout("scrollout()",pause)
		}
		else {
			clearTimeout(timer)

			changemessage()
		}
	}
}

function changemessage(){
		i_message++
		if (i_message>message.length-1) {i_message=0}
		mes_joined=message[i_message]
		mes_split=mes_joined.split("|")
		cliptop=0
		clipbottom=0
		
		contenttext="<table cellpadding=4 cellspacing=0 border=0>"
		contenttext+="<tr valign='top'>"
		contenttext+="<td align="+titlealign+" width="+titlezonewidth+" height='"+scrollerheight+"' bgcolor='"+titlezonebg+"'>"
		contenttext+="<a href='"+mes_split[2]+"' target='"+targetlink+"'>"
		contenttext+="<font face='"+font_titleface+"' color='"+font_titlecolor+"' size='"+font_titlesize+"'>"
		contenttext+=pre_titlebold
		contenttext+=mes_split[0]
		contenttext+=after_titlebold
		contenttext+="</font></a></td>"
		contenttext+="<td align="+copyalign+" width="+copyzonewidth+" height='"+scrollerheight+"' bgcolor='"+copyzonebg+"'>"
		contenttext+="<font face='"+font_copyface+"' color='"+font_copycolor+"' size='"+font_copysize+"'>"
		contenttext+=pre_copybold
		contenttext+=mes_split[1]
		contenttext+=after_copybold
		contenttext+="</font></td></tr>"
		contenttext+="</table>"
	
	if (document.all) {
		scrollertext.innerHTML=contenttext
		document.all.scrollertext.style.posTop=scrollertop+scrollerheight
		document.all.scrollertext.style.posLeft=scrollerleft
		document.all.scrollertext.style.clip="rect("+cliptop+" "+clipright+" "+clipbottom+" "+clipleft+")"
		scrollin()
	}
	if (document.layers) {
		document.scrollertext.document.write(contenttext)
		document.scrollertext.document.close()
		document.scrollertext.top=scrollertop+scrollerheight
		document.scrollertext.left=scrollerleft
		document.scrollertext.clip.left=clipleft
        document.scrollertext.clip.right=clipright
        document.scrollertext.clip.top=cliptop
        document.scrollertext.clip.bottom=clipbottom
		scrollin()
	}
}
