// JavaScript Document
var attr_text;

$(document).ready(function()
	{
		/* Email Newsletter Signup */
		$('#signup_email').bind('focus',function()
			{
				if($('#signup_email').val() == 'Your Email Here')
				{
					$('#signup_email').val('');
				}
			});
		
		$('#signup_email').bind('blur',function()
			{
				if($('#signup_email').val() == '')
				{
					$('#signup_email').val('Your Email Here');
				}
			});
			
		$('#newsletter_signup').click(function()
			{
				emailid = $('#signup_email').val();
				if(($('#signup_email').val() != "") && ($('#signup_email').val() != 'Your Email Here'))
				{
					$.ajax({url: '/combo_values.php',data: 'choose=newsletter_signup&email=' + emailid, type: 'post', success: function(msg) { $('#signup_email').val('');alert('Thank you for signing up for our Newsletter'); }});
				}
				else
				{
					alert('Please enter a valid Email');
				}
			});
		
		$('.bannerad').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		/*
		$('#tremblantresortlodging').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#pcbvacation').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#pcbvisitorguide').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#pvprop').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#unusualvillarentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#twocasitas').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#keylargocottages').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#goweb99').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#peivrc').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#condosforrentinpv').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#virginislandbfr').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#bestfloridavv').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#beachrentalsatnavarre').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#virtualofficeinindia').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#sunkissvillas').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});	
		
		$('#goweb99').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#goyamaui').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#greystoneretreat').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#oahubluekailua').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#worldcitizen').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#cabocaliente').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#raccoonlodge').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#taosvacationhomes').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#villaakumal').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#casahelga').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#cbresortmanagement').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#deadwoodconnections').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#seasidesuites').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#socalhotproperties').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#1brvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#2brvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#3brvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#4brvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#findskirentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#findgolfrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#findromanticrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#groupvacationsrental').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#longtermvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#findvillarentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#lakerentalvacation').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#playvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#luxuryrentalsvacation').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#adventurevacationsrental').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#seabeachvacations').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#sellmyvacationrental').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#privaterentalvacation').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#findcondorentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#cabinrentalvacation').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#findyachtrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#vacationrentalsdiscount').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#afloridavacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#caribbeanluxuryvacationrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#findbnbrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#findpetfriendlyrentals').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#arawakbaysaltriver').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
			
		$('#soakinthesun').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#almabeachmanor').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#islandreal').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#chateauonthesea').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		
		$('#teh_38658').mouseover(function()
			{
				attr_text = $(this).attr('title');
			});
		*/
		$('#banner').mouseenter(function()
			{
				$('#mousetip').css("visibility","visible");
			});
			
		$('#banner').mouseleave(function()
			{
				$('#mousetip').css("visibility","hidden");
			});
			
		$('#banner').mousemove(function(e)
			{
				$('#mousetip').html('This Space is Available. Buy Now! Call 1-210-388-0099');
				$('#mousetip').css({top: eval(e.pageY + 50),left: eval(e.pageX + 10)});
			});
		
		$('#MapAd').mouseenter(function()
			{
				$('#mousetip').css("visibility","visible");
			});
		
		$('#MapAd').mouseleave(function()
			{
				$('#mousetip').css("visibility","hidden");
			});
				
		$('#MapAd').mousemove(function(e)
			{
				$('#mousetip').html(attr_text);
				$('#mousetip').css({top: eval(e.pageY + 50),left: eval(e.pageX + 10)});
			});
	});
