// JavaScript Document
var arrPage=new Array();
arrPage=["Members.aspx","Events.aspx","PhotoGallery.aspx","Listings.aspx"]

//var gURL="http://aes29/wild1.4/";
//var gSSLURL="http://aes29/wild1.4/";

var gURL="http://www.floridanightlife.com/";
var gSSLURL="https://www.floridanightlife.com/";

//var gURL="http://www1.site2preview.com/floridanightlife/";
//var gSSLURL="http://www1.site2preview.com/floridanightlife/";

//var gURL="http://beta.floridagonewild.com/";
//var gSSLURL="http://beta.floridagonewild.com/";

//var gURL="http://67.19.84.61/";
//var gSSLURL="http://67.19.84.61/";

function fnGoURL(page){
var CityName="";
	if(document.getElementById(""+opt_ChangeCounty+"").value!=-1){	
		var CountyName=document.getElementById(""+opt_ChangeCounty+"").options[document.getElementById(""+opt_ChangeCounty+"").selectedIndex].innerHTML
		CountyName=	CountyName.replace(' ','\_')
		/*if(document.getElementById(""+opt_ChangeCity+"").value!=-2)
		 CityName=document.getElementById(""+opt_ChangeCity+"").options[document.getElementById(""+opt_ChangeCity+"").selectedIndex].innerHTML+'/';*/
		window.location.href=gURL+CountyName+'/'+CityName+page;
	}	else window.location.href=gURL+page
}


//Google Map Function
function GoogleMapKey(){
	try{
			var PagePath=window.location.pathname
			var PageName=PagePath.substring(PagePath.lastIndexOf('/') + 1).toLowerCase()

			if(PageName=="membershippayment.aspx" || PageName=="manageevents.aspx"){}
			else
			{
				//BETA
				var URLPath=document.location.toString();
				if(URLPath.substring(0,32)=="http://beta.floridagonewild.com/"){
					str="<script src=http://maps.google.com/maps?file=api&amp;v=2.s&amp;key=ABQIAAAAQ6v6z9ho1z3tu1mnyld2PRTxz2M4_SL635ZL5G-u6zJvq8p-bhRhnuYVS8BAyv1tufNyUogZNZCRzQ type='text/javascript'></script>"
					document.write(str)
				}
				else{	
					//FLORIDA
					str="<script src=http://maps.google.com/maps?file=api&amp;v=2.s&amp;key=ABQIAAAAQ6v6z9ho1z3tu1mnyld2PRTxz2M4_SL635ZL5G-u6zJvq8p-bhRhnuYVS8BAyv1tufNyUogZNZCRzQ type='text/javascript'></script>"
					document.write(str)
				}
			}
	}catch(ex){}

}
function fnbasepath(){
var str="<base href='"+gURL+"'>";
document.write(str)
}
function fnMainEventMenu(){
	var str="";
	str+="<A class='inner_menu2' href="+gURL+"MyHome.aspx>My Wild</A> | <A class='inner_menu' href="+gURL+"Members.aspx>Members</A> | <A class='inner_menu' href="+gURL+"Events.aspx>";
	str+="Events</A> | <A class='inner_menu' href="+gURL+"PhotoGallery.aspx>Photos</A> | <A class='inner_menu' href="+gURL+"FAQ.aspx>";
	str+="FAQs</A> | <A class='inner_menu' href="+gURL+"Listings.aspx>Business Listings</A>";
	document.write(str);
}

/*function fnEventSubMenu(){
	var str="";
	str="<A class='inner_menu3' href='javascript:window.location.href='ListingRegistration.aspx'>"
	str+="Edit Profile</A> | <A class='inner_menu3' href='javascript:window.location.href='ManageEvents.aspx'>"
	str+="Manage Events</A> | <A class='inner_menu3' href='javascript:window.location.href='ListingGallery.aspx'>"
	str+="Manage Photos</A>&nbsp;&nbsp;| <A class='inner_menu3' href="javascript:window.location.href='ManageListingVideos.aspx'>"
	str+="Manage Videos</A>&nbsp;&nbsp;|<A  class='inner_menu3' href="javascript:window.location.href='ListingPDF.aspx'>"
	str+="Upload PDF</A> |"
	str+="<A  id='eventphoto' onclick='chkEvent()' class='inner_menu3' href='#' >"
	str+="Event Photos</A>|&nbsp; <A  id='eventVideo' onclick='chkEvent()' href='#' class='inner_menu3'>"
	str+="Event Videos</A>"
}*/
	
	
function agecheck()
{
	var str="";
	str+="<table cellpadding='0' cellspacing='0' width='100%' align='center'>";
	str+="<tr><td>";
	str+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='1004' height='550'>";
	str+="<param name='movie' value='media/intro.swf'>";
	str+="<param name='menu' value='false'>";
	str+="<param name='quality' value='high'>";
	str+="<param name='wmode' value='transparent'>";
	str+="<embed src='media/intro.swf' menu='false' wmode='transparent' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='1004' height='550'></embed>";
	str+="</object>";
	str+="</td></tr>";
	str+="</table>";
	document.write(str);
}
	
	
	
function fnBanner()
{
	var str="";
	str+="<tr>";
	str+="<td width='331' height='5' colspan='2' class='spacer' bgcolor='#000000'></td>";
	str+="</tr>";
	str+="<tr>";
	str+="<td colspan='2' bgcolor='#000000'>";
	str+="<div class='logo'><a href="+gURL+"Default.aspx><img src='images/logo.jpg' width='234' height='102' alt='Return Home!' border='0'></a></div>";
	str+="<div class='img_left'><img src='images/bannerl.jpg' alt='Florida Nightlife' width='239' height='102' border='0'></div>";
	str+="<div class='img_flash'>";
	str+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='235' height='102' title='Florida Nightlife'><param name='movie' value='media/banner.swf'><param name='wmode' value='transparent'><param name='menu' value='false'><param name='quality' value='high'>";
    str+="<embed src='media/banner.swf' wmode='transparent' quality='high' pluginspage='https://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' menu='false' width='238' height='102'></embed>";
  	str+="</object>";
	str+="</div>";
	str+="<div class='img_right'><img src='images/bannerr.jpg' alt='Florida Nightlife' width='296' height='102' border='0' usemap='#Map2'></div>";
	str+="</td>";
	str+="</tr>";
	document.write(str);
}


function fnBannerOld()
{
	var str="";
	str+="<tr>";
	str+="<td width='331' height='5' colspan='2' class='spacer' bgcolor='#000000'></td>";
	str+="</tr>";
	str+="<tr>";
	str+="<td colspan='3' bgcolor='#000000'>";
	str+="<div class='logo'><a href="+gURL+"index.html><img src='images/logo.jpg' width='234' height='102' alt='Florida Nightlife' border='0'></a></div>";
	str+="<div class='img_top'><img src='images/img_topmen.jpg' width='382' height='102' alt='Florida Nightlife'></div>";
	str+="<div class='img_top1'><img src='images/img_topwomen.jpg' width='388' height='102' alt='Florida Nightlife'></div>";
	str+="</td>	";
	str+="</tr>";
	document.write(str);
}


/*function fnTop()
{
	var str="";
	str+="<table cellspacing='0' cellpadding='0' border='0' bgcolor='#000000'>";
	str+="<tr>";
	str+="<td class='login'	>";
	str+="<table cellapscing='0' cellpadding='0' border='0'><tr>";
	str+="<td><div class='txtred'>Username</div></td>";
	str+="<td><input class='txtboxlogin' type='text' id='UtxtUserName' onkeydown='fnUCKeyValidate(event)' tabIndex=1></td>";
	str+="<td rowSpan='3'><div>&nbsp;<a href='#'><img src='images/button_login.gif' vspace='16' width='56' height='23' alt='Login' border='0' onclick='UCcheckPass(event)' tabIndex=3></a></div></td></tr>";
	str+="<tr><td><div class='txtred'>&nbsp;Password</div></td>";
	str+="<td><input class='txtboxlogin' type='Password' id='UtxtPassword' onkeydown='fnUCKeyValidate(event)' tabIndex=2></td></tr></table>";
	str+="</td>";
	str+="<td class='memberbg'><img src='images/member.jpg' width='158' height='18' alt=''><br><a href="+gURL+"registration.aspx>Click here to Register</a></td>";
	str+="<td class='locationbg' height='75' style='padding:0px 0px 10px 10px;'><table cellspacing='0' cellpadding='0' border='0'><tr><td valign='top'><b class='txtwhite'>I am looking to have fun in:</b></td></tr>";
	//str+="County&nbsp;&nbsp;<select class='cmboxlocation' id='opt_ChangeCounty' onchange='fnGetCityForCounty(this)' style='WIDTH:150px' ></select>";	
	//str+="<img src="+gURL+"spacergif height='10' width='100'><br>&nbsp;&nbsp;&nbsp;&nbsp;City&nbsp;&nbsp;<select class='cmboxlocation' id='opt_ChangeCity' onchange='fnChangeCity(this)' style='WIDTH:150px'></select><br><img src="+gURL+"spacergif height='1' width='100'>";	
	//str+="County<span id='spnChangeCounty' style='POSITION:relative;width:130px; background-color='#ffffff' class='cmboxselect1'>-- Select A County --</span><select class='cmboxlocation' id='opt_ChangeCounty' onchange='fnGetCityForCounty(this)' style='WIDTH:120px' style='POSITION:absolute' ></select>";	
	//str+="County<span id='spnChangeCounty' style='POSITION:relative;width:130px; background-color='#ffffff' class='cmboxselect1'>-- Select A County --</span><select class='cmboxlocation' id='opt_ChangeCounty' onchange='fnGetCityForCounty(this)' style='WIDTH:120px' style='POSITION:absolute' ></select>";	
	str+="<tr><td valign='top'>&nbsp;County&nbsp;<span id='spnChangeCounty' class='cmboxselect1'>-- Select A County --</span><select class='cmboxlocation1' id='opt_ChangeCounty' onchange='fnGetCityForCounty(this)'  style='LEFT: 479px;POSITION: absolute; TOP: 165px;width:130px' ></select></td></tr>";	
	str+="<tr><td style='padding-left:7px; padding-top:5px;'>&nbsp;&nbsp;&nbsp;&nbsp;City&nbsp;<span id='spnChangeCity' style='background-color=#ffffff; POSITION: absolute;width:130px;'  class='cmboxselect1'>-- Select All --</span><select class='cmboxlocation1' id='opt_ChangeCity' onchange='fnChangeCity(this)' style='LEFT: 482px;POSITION: absolute; TOP: 185px;width:130px'></select></td></tr></table>";	
	str+="</td>"; 
	str+="<td class='searchbg' align='right'>";
	str+="<div class='padding15'><b class='txtgold13'>Quick Search</b><br>";
	str+="<div style='padding-bottom:5px;'><input type='text' class='txtbox1login' id='txtKeyWord'><br></div>"
	str+="<select class='cmboxlocation' id='optSearchCounty'></select></div>";
	str+="<br><div class='padding15'><a href='#' onclick='fnBannerSearch()'><img src='images/button_search.jpg' width='85' height='28' alt='Search' border='0' vspace='12' ></a></div>";
	str+="</td>";
	str+="</tr>";
	str+="</table>";
	document.write(str);
	}
*/	
	
	
	
function fnLeft()
{
	var str="";
	str+="<img src='images/head_channels.gif' width='225' height='27' alt=''><a href="+gURL+"Default.aspx class='leftmenu'>Home</a>";
	str+="<a style='cursor:pointer' href='#' class='leftmenu' onclick=fnChkCountySelection('Listings.aspx?Action=Bar')>Bars</a>";
    str+="<a style='cursor:pointer' href='#' class='leftmenu' onclick=fnChkCountySelection('Listings.aspx?Action=Club')>Clubs</a>";
	str+="<a style='cursor:pointer' href='#' class='leftmenu' onclick=fnChkCountySelection('Events.aspx')>Events</a>";
	str+="<a style='cursor:pointer' href='#' class='leftmenu' onclick=javascript:fnChkCountySelection('Recreation_Listings.aspx')>Recreation</a>";
	str+="<a style='cursor:pointer' href='#' class='leftmenu' onclick=javascript:fnChkCountySelection('Restaurants_Listings.aspx')>Restaurants</a>";
	str+="<a style='cursor:pointer' href='#' class='leftmenu' onclick=fnChkCountySelection('Listings.aspx?Action=LiveEntertainment')>Live Entertainment</a>";
	str+="<a href="+gURL+"listings.aspx class='leftmenu'>Business Directory</a>";	
    
    str+="<img src='images/head_members.gif' width='225' height='27' alt=''><a href="+gURL+"members.aspx?Action=search class='leftmenu'>Member Directory</a><a href="+gURL+"Login.aspx class='leftmenu'>Member Login</a>"; 
   // str+="<a href='listings.aspx' class='leftmenu'>Business Directory</a>";	
	str+="<a href="+gURL+"ListingRegistration.aspx?Action=Login class='leftmenu'>Business Login</a>"; 
	str+="<a href="+gURL+"PhotoGallery.aspx?Action=MemberPhotos class='leftmenu'>Member Gallery</a>"; 
	str+="<img src='images/head_features.gif' width='225' height='27' alt=''><a style='cursor:pointer' class='leftmenu' onclick=fnChkCountySelection('Events.aspx?Action=Upcoming') class='leftmenu' >Upcoming  Events</a>"; 	
	//str+="<a href="+gURL+"members.aspx?Option=Top100 class='leftmenu'>Top 100 Members</a>"; 
	//str+="<a href='ManageEvents.aspx' class='leftmenu'>Manage Events</a>"; 
	 str+="<a href="+gURL+"LatestPhotoGallery.aspx class='leftmenu'>Latest Photo Gallery</a>";
	 str+="<a href="+gURL+"Events.aspx?Action=New class='leftmenu'>Newest Event | Bar |Club</a>"; 
	str+="<img src='images/head_dailyfeatures.gif' width='225' height='27' alt=''><a href="+gURL+"EventsOfTheDay.aspx?Action=Bar class='leftmenu'>Bar of the Day</a>"; 
	str+="<a href="+gURL+"EventsOfTheDay.aspx?Action=Club class='leftmenu' style='cursor:pointer'>Club of the Day</a>";
	str+="<a href=javascript:fnSiteOfTheDay() class='leftmenu' style='cursor:pointer'>Site of the Day</a>";
	str+="<a href="+gURL+"EventsOfTheDay.aspx?Action=Photo class='leftmenu'>Photo of the Day</a>";
	str+="<a href="+gURL+"EventsOfTheDay.aspx?Action=Video class='leftmenu'>Video of the Day</a>";	 
	str+="<a href="+gURL+"EventsOfTheDay.aspx?Action=Event class='leftmenu'>Event of the Day</a>"; 
	
	str+="<img src='images/head_otherinfo.gif' width='225' height='27' alt=''><a href="+gURL+"FAQ.aspx class='leftmenu'>FAQs | Why Join</a><a href="+gURL+"Login.aspx?Action=JoinNewsLetter class='leftmenu' >Join our Newsletter</a>";
	str+="<a href="+gURL+"Promotion.aspx title='Promotion' class='leftmenu'>Our Next Promotion</a>";
	str+="<a href='mailto:info@floridanightlife.com?Subject=FGW Advertisement Inquiry' title='FGW Advertisement' class='leftmenu'>Advertise With Us</a>";
		//mailto:ads@floridagonewild.com?Subject=Leaderboard Banner Order	
	//str+="<img src="+gURL+"images/head_fgw.gif width='225' height='27' alt=''><a href='#' class='leftmenu'>Our Latest Event</a>"; 
	//str+="<a href='#' class='leftmenu'>Request Promotional Information</a>"; 
	//str+="<a href='#' class='leftmenu'>Partners | Sponsor</a>"; 
	document.write(str);
	}
	

function fnBottom()
{
	
	var str="";
	str+="<tr><td class='txtgrey' align='center' colspan='3' bgcolor='#000000'><font  class='txtcopyright'>&copy Copyright 2007, Florida Nightlife.</font> &nbsp;   <a href='#' style='cursor:pointer' onclick=opennewwindow('terms.aspx') class='terms' stl>Terms of Use</a> | <a href='#' style='cursor:pointer' onclick=opennewwindow('privacy_policy.aspx')  class='terms'>Privacy Policy</a> | <a style='cursor:pointer' href='mailto:info@floridanightlife.com?Subject=Inquiry from Florida Nightlife Website'  class='terms'>Contact Us?</a><br><a href='#' onclick=opennewwindow('web50') class='creator'>A Web50.com Creation</a></td></tr>";
	document.write(str);

}

function fnFocusIn(objTxt)
{
	if(objTxt.value!="")
		objTxt.value = "";
}

function fnFocusOut(objTxt)
{
	if(objTxt.value=="")
		objTxt.value = "- - - - - - - - Enter City - - - - - - - - - ";
}
function fnChkCountySelection(Page){
	if(document.getElementById(""+opt_ChangeCounty+"").value!=-1){	
	var CountyName=document.getElementById(""+opt_ChangeCounty+"").options[document.getElementById(""+opt_ChangeCounty+"").selectedIndex].innerHTML
		CountyName=	CountyName.replace(' ','\_')
	
		if(Page=='Bar/Listings.aspx' || Page=='Club/Listings.aspx' || Page=='Recreation/Listings.aspx' || Page=='Restaurants/Listings.aspx'|| Page=='LiveEntertainment/Listings.aspx' )
		window.location.href=gURL+'Business_Listings/'+CountyName+'/'+Page;
		//------New01-10-09
		if(Page=='Employmentview.aspx'){
		window.location.href=gURL+Page;
		}
		else if(Page=='Events.aspx'){
		window.location.href=gURL+Page;}
		else if(Page=='DailySpecialEvents.aspx'){
		window.location.href=gURL+Page;}		
		else{
		window.location.href=gURL+CountyName+'/'+Page;
		}
		//------
	}	
	else{
		alert("Please select a County at the top of the page");
		document.getElementById(""+opt_ChangeCounty+"").focus();
	}	
		

}
function fnBannerSearch(){
	var isValid=false;
	isValid=isNull(document.getElementById('txtKeyWord'),"KeyWord");
	var CountyId=-1;
	CountyId=document.getElementById('optSearchCounty').value
	if(isValid){
		var res=Wild.AjaxFunctions.fnBannerSearch(fnSingleQuoteSearchReplace(document.getElementById('txtKeyWord').value)).value;
		if(res==1)
			window.location.href=gURL+"QuickSearch.aspx?Id="+CountyId;
	}
	
}
function fnCheckForLogin(UserName){
	document.write("<tr>");
	document.write("<td background='images/gray_bg.gif' height='30' style='PADDING-LEFT:10px' colspan='2'><b class='txtred2'>Welcome,</b>")
	document.write("<b class='tdblack'>")
	document.write(fnFindQuotes(UserName))
	document.write("</b>")
	document.write("</td>")
	document.write("</tr>")
}
function fnMemberLogout(){
	document.write("<div align='right'><img src='images/log_off.gif' width='91' height='38' border='0' onclick='javascript:Memberlogout();'	usemap='#logoff'></div>")
}
function fnListingLogout(){
	document.write("<div align='right'><img src='images/log_off.gif' width='91' height='38' border='0' onclick='javascript:ListingLogout();'	usemap='#logoff'></div>")
}

function fnLoginSubMenu(){
	document.write("<tr>");
	document.write("<td height='37' bgcolor='#dfc220' width='765' style='PADDING-LEFT:10px' class='tdblack'><a href="+gURL+"MyHome.aspx class='inner_menu3'>")
	document.write("My Home</a> | <a href="+gURL+"internalmail.aspx class='inner_menu3'>My Mail</a> | <a href="+gURL+"MyGallery.aspx class='inner_menu3'>")
	document.write("My Gallery</a> | <a href="+gURL+"MyFriends.aspx class='inner_menu3'>My Friends</a> ")
	document.write("| <a href="+gURL+"MyEvents.aspx?Favorite=Event class='inner_menu3'>My Events</a> | <a href="+gURL+"MyEvents.aspx?Favorite=Listing class='inner_menu3'> ")
	document.write(" My Business Listings</a> </td>")
	document.write("</tr>");
}


function UCcheckPass(evt)
{
	try{
		var isValid;
		isValid = isNull(document.getElementById('UtxtUserName'),'Username');
		if(isValid)isValid=fnChkAlphaForUserName( document.getElementById('UtxtUserName'),'Username')
		if(isValid)isValid=isNull(document.getElementById('UtxtPassword'),'Password')
		if(isValid)isValid=fnChkAlphaForUserName( document.getElementById('UtxtPassword'),'Password')
		if(isValid){ 
			var tbl = Wild.AjaxFunctions.CheckPassword( document.getElementById('UtxtUserName').value , document.getElementById('UtxtPassword').value  ).value;
			if ( tbl ){
						if(tbl.Rows.length > 0 && tbl.Rows[0]["Login"]){
							if( tbl.Rows[0]["CloseAccountStatus"])
							alert('Your Account has not been Activated by the WildAdministrator')
							else if (!(tbl.Rows[0]["CloseAccountStatus"])&& tbl.Rows.length > 0 )
							{
										window.location=gURL+"MyHome.aspx";														
							}
						}
						
						else
							{
								alert('Incorrect Username/Password');
								document.getElementById('UtxtUserName').value="";
								document.getElementById('UtxtPassword').value="";
								document.getElementById('UtxtUserName').focus();
							}
					}else  {
								alert('Incorrect Username/Password');
								document.getElementById('UtxtUserName').value="";
								document.getElementById('UtxtPassword').value="";
								document.getElementById('UtxtUserName').focus();
					}
		}
	}catch(e){alert(e)}
}
			
		
function fnUCKeyValidate(obj){
	if(obj.keyCode == 13){
		obj.returnValue=false;
		obj.cancel=true;
		UCcheckPass();
	}

}
function fnSingleQuoteSearchReplace(str){
	return str.replace(/'/g,"\#")
}


function fnSiteOfTheDay(){
var res="";
res=Wild.AjaxFunctions.fnSiteOfTheDay().value;

if(res!="")
	window.open(res);
//else window.open('WebForm3.aspx')

}


function opennewwindow(page){

	if(page=='web50')window.open('http://www.web50.com')
	else	window.open(gURL+page)
}
function fnsubmit(){
var str="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='235' height='45' id='bn1' align='middle'>"
str+="<param name='allowScriptAccess' value='sameDomain' />"
str+="<param name='menu' value='false' />"
str+="<param name='movie' value='media/submit.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='media/submit.swf' quality='high' menu='false' bgcolor='#ffffff' width='235' height='45' name='bn1' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"
str+="</object>"
document.write(str)
}

function fnvote(){
var str="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='235' height='45' id='bn1' align='middle'>"
str+="<param name='allowScriptAccess' value='sameDomain' />"
str+="<param name='menu' value='false' />"
str+="<param name='movie' value='media/vote.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='media/vote.swf' quality='high' menu='false' bgcolor='#ffffff' width='235' height='45' name='bn1' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"
str+="</object>"
document.write(str)
}
function fnGirls(){
var str4girl="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='475' height='102' id='girlbanner' align='middle'>"
str4girl+="<param name='allowScriptAccess' value='sameDomain' /><param name='menu' value='false' />"
str4girl+="<param name='movie' value='media/girlbanner.swf' /><param name='quality' menu='false' value='high' /><param name='bgcolor' value='#cc0033' /><embed src='media/girlbanner.swf' quality='high' bgcolor='#cc0033' width='475' height='102' name='girlbanner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"
str4girl+="</object>"
document.write(str4girl)
}

function fncontest(){
var strcontest="<OBJECT id='contest' codeBase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'"
				strcontest+="height='76' width='157' align='middle' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' VIEWASTEXT>"
				strcontest+="<PARAM NAME='_cx' VALUE='4154'>"
				strcontest+="<PARAM NAME='_cy' VALUE='2011'>"
				strcontest+="<PARAM NAME='FlashVars' VALUE=''>"
				strcontest+="<PARAM NAME='Movie' VALUE='media/contest.swf'>"
				strcontest+="<PARAM NAME='Src' VALUE='media/contest.swf'>"
				strcontest+="<PARAM NAME='WMode' VALUE='transparent'>"
				strcontest+="<PARAM NAME='Play' VALUE='-1'>"
				strcontest+="<PARAM NAME='Loop' VALUE='-1'>"
				strcontest+="<PARAM NAME='Quality' VALUE='High'>"
				strcontest+="<PARAM NAME='SAlign' VALUE=''>"
				strcontest+="<PARAM NAME='Menu' VALUE='0'>"
				strcontest+="<PARAM NAME='Base' VALUE=''>"
				strcontest+="<PARAM NAME='AllowScriptAccess' VALUE='sameDomain'>"
				strcontest+="<PARAM NAME='Scale' VALUE='ShowAll'>"
				strcontest+="<PARAM NAME='DeviceFont' VALUE='0'>"
				strcontest+="<PARAM NAME='EmbedMovie' VALUE='0'>"
				strcontest+="<PARAM NAME='BGColor' VALUE='000000'>"
				strcontest+="<PARAM NAME='SWRemote' VALUE=''>"
				strcontest+="<PARAM NAME='MovieData' VALUE=''>"
				strcontest+="<PARAM NAME='SeamlessTabbing' VALUE='1'>"
				strcontest+="<PARAM NAME='Profile' VALUE='0'>"
				strcontest+="<PARAM NAME='ProfileAddress' VALUE=''>"
				strcontest+="<PARAM NAME='ProfilePort' VALUE='0'>"
				strcontest+="<embed src='media/contest.swf' wmode='transparent' menu='false' quality='high' bgcolor='#000000' width='157'"
				strcontest+="height='76' name='contest' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash'"
				strcontest+="pluginspage='http://www.macromedia.com/go/getflashplayer' />"
				strcontest+="</OBJECT>"
				document.write(strcontest)
				
}
function fnAdvertiser(){
/*var stradvertiser="<OBJECT id='Shockwaveflash1' title='Florida Nightlife' codeBase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0'"
				stradvertiser+="height='102' width='235' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' VIEWASTEXT>"
				stradvertiser+="<PARAM NAME='_cx' VALUE='6218'>"
				stradvertiser+="<PARAM NAME='_cy' VALUE='2699'>"
				stradvertiser+="<PARAM NAME='FlashVars' VALUE=''>"
				stradvertiser+="<PARAM NAME='Movie' VALUE='media/banner.swf'>"
				stradvertiser+="<PARAM NAME='Src' VALUE='media/banner.swf'>"
				stradvertiser+="<PARAM NAME='WMode' VALUE='transparent'>"
				stradvertiser+="<PARAM NAME='Play' VALUE='-1'>"
				stradvertiser+="<PARAM NAME='Loop' VALUE='-1'>"
				stradvertiser+="<PARAM NAME='Quality' VALUE='High'>"
				stradvertiser+="<PARAM NAME='SAlign' VALUE=''>"
				stradvertiser+="<PARAM NAME='Menu' VALUE='0'>"
				stradvertiser+="<PARAM NAME='Base' VALUE=''>"
				stradvertiser+="<PARAM NAME='AllowScriptAccess' VALUE=''>"
				stradvertiser+="<PARAM NAME='Scale' VALUE='ShowAll'>"
				stradvertiser+="<PARAM NAME='DeviceFont' VALUE='0'>"
				stradvertiser+="<PARAM NAME='EmbedMovie' VALUE='0'>"
				stradvertiser+="<PARAM NAME='BGColor' VALUE=''>"
				stradvertiser+="<PARAM NAME='SWRemote' VALUE=''>"
				stradvertiser+="<PARAM NAME='MovieData' VALUE=''>"
				stradvertiser+="<PARAM NAME='SeamlessTabbing' VALUE='1'>"
				stradvertiser+="<PARAM NAME='Profile' VALUE='0'>"
				stradvertiser+="<PARAM NAME='ProfileAddress' VALUE=''>"
				stradvertiser+="<PARAM NAME='ProfilePort' VALUE='0'>"
				stradvertiser+="<embed src='media/banner.swf' wmode='transparent' quality='high' pluginspage='https://www.macromedia.com/go/getflashplayer'"
				stradvertiser+="type='application/x-shockwave-flash' menu='false' width='235' height='102'> </embed>"
				stradvertiser+="</OBJECT>"
*/
			var stradvertiser="";
			stradvertiser+="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='235' height='102'>"
			stradvertiser+="<param name='movie' value='media/banner.swf' />"
			stradvertiser+="<param name='quality' value='high' />"
			stradvertiser+="<param name='_cx' VALUE='6218'>"	
			stradvertiser+="<param name='_cy' VALUE='2699'>"
			stradvertiser+="<PARAM NAME='Movie' VALUE='media/banner.swf'>"
			stradvertiser+="<PARAM NAME='Src' VALUE='media/banner.swf'>"		
			stradvertiser+="<PARAM NAME='WMode' VALUE='transparent'>"		
			stradvertiser+="<PARAM NAME='Play' VALUE='-1'>"
			stradvertiser+="<PARAM NAME='Loop' VALUE='-1'>"
			stradvertiser+="<PARAM NAME='Quality' VALUE='High'>"
			stradvertiser+="<PARAM NAME='SAlign' VALUE=''>"
			stradvertiser+="<PARAM NAME='Menu' VALUE='0'>"
			stradvertiser+="<PARAM NAME='Base' VALUE=''>"
			stradvertiser+="<PARAM NAME='AllowScriptAccess' VALUE=''>"
			stradvertiser+="<PARAM NAME='Scale' VALUE='ShowAll'>"
			stradvertiser+="<PARAM NAME='DeviceFont' VALUE='0'>"
			stradvertiser+="<PARAM NAME='EmbedMovie' VALUE='0'>"
			stradvertiser+="<PARAM NAME='BGColor' VALUE=''>"
			stradvertiser+="<PARAM NAME='SWRemote' VALUE=''>"
			stradvertiser+="<PARAM NAME='MovieData' VALUE=''>"
			stradvertiser+="<PARAM NAME='SeamlessTabbing' VALUE='1'>"
			stradvertiser+="<PARAM NAME='Profile' VALUE='0'>"
			stradvertiser+="<PARAM NAME='ProfileAddress' VALUE=''>"
			stradvertiser+="<PARAM NAME='ProfilePort' VALUE='0'>"											
			stradvertiser+="<embed src='media/banner.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' menu='false' width='235' height='102'></embed>"
			stradvertiser+="</object>"				
			document.write(stradvertiser)
}