<!-- start hiding 
	//variables for slide show
	var winHeight = 550;
	var winWidth = 620;
// var for imageslideshow applet
//      "Img file|type transit see notes,"	
	var imgDefts = 
		"img8.jpg|3," +
		"img0.jpg|7," +
		"usa-flag.jpg|20," +
		"img1.jpg|9," +
		"img9.jpg|0," +
		"img3.jpg|20," +
		"img5.jpg|12," +
		"img6.jpg|0," +
		"img4.jpg|3," +
		"img7.jpg|2," +
		"img10.jpg|0," +
		"img2.jpg|10";



//* open a new popup window to display photos downloaded from the MLS system	
	function imgWinOpen(newWindow)
	{//height=" + scrHeight + ",width=" + scrWidth+ ",
		var scrHeight = screen.height
		var scrWidth = screen.width
		if (scrWidth > 800){
			scrHeight = 768
			scrWidth = 1024
		}
		else{
			scrHeight = 600
			scrWidth = 800		
		}
		var ShowWin = window.open(newWindow,'intro',"'systemY=0,systemX=0,resizable=yes,scrollbars=yes,status=no,location=no,toolbar=no,menubar=no top=0 left=0'");	
		ShowWin.focus();
	}
	
//* open a new popup window used in the fairway-14plex-riser.html & fairway-8plex.rister.html, excel mls download macros
	function winOpen(newWindow, newHeight, newWidth)
	{
		//window.open(newWindow,'intro','systemY=0,systemX=0,resizable=no,scrollbars=no, height=' + newHeight + ',width=' + newWidth +',status=no,location=no,toolbar=no,menubar=no left=0,top=0')
		window.open(newWindow,'intro',"'systemY=0,systemX=0,resizable=no,scrollbars=no,height=" + newHeight + ",width=" + newWidth + ",status=no,location=no,toolbar=no,menubar=no top=0 left=0'");	
	}
//* events to contact Waikoloa Realty, Inc.
	function emailnew(address,what)
	{	contactWRI(address,what,'')
	}
	function contactWRI(address,subject,body)
	{	
		switch (address){
		case "sales":
			bite("5246 3589 3620 2188 5246 3040 1477 3589 1437 5910 347 3620 347 3589 2018 456 2188 3589 3620 368 88 3167 4785 347 27",6499,5069,subject,body);
			break;
		case "rental":
			bite("14276 5118 6919 5334 3657 1374 5134 9775 3950 3657 11877 11427 2280 1374 2280 3657 10629 14276 5118 3657 1374 5334 2917 12931 5053 2280 3038",14317,11261,subject,body);
			break;
		case "webmaster":
			bite("3950 5118 12531 3038 3657 5134 5334 5118 14276 9775 3950 3657 11877 11427 2280 1374 2280 3657 10629 14276 5118 3657 1374 5334 2917 12931 5053 2280 3038",14317,11261,subject,body);
			break;
		}
	}

	function emailsales(address,subject,body)
	{	
		contactWRI(address,subject,body)
	}
	
	function emailit(what)
	{
		contactWRI("sales",what,'')
	}
//* end send mail
	//* opens new window and desplays slideshow of MLS Printout
	function MLSWindowOpen(winH,winW)
	{
		if (winH == 0)
		{
		 winH = winHeight;
		}
		if (winW == 0)
		{
		winW = winWidth;
		}
		AppWin = open('mls-slides-frame.html','MLSView','systemY=0,systemX=0,left=0,right=0,resizable=no,scrollbars=no, height=' + winH + ',width=' + winW +',status=no,location=no,toolbar=no,menubar=no left=0,top=0');
		AppWin.window.focus();
	}


	//* used to send an alert type message	
	function sendAlert(viewTitle,winWidth,winHeight,message)
	{
		var leftX = (325-(winWidth/2));
		var topX = (230-(winHeight/2));
		if (navigator.appName.indexOf("Microsoft")>=0)
		{
			winStats="left=" + leftX + ",top=" + topX;
		}
		else
		{
			winStats="screenX=" +leftX + ",screenY=" + topX;
		}
		Notice = window.open("","Notice","toolbar=0,systemY=0,systemX=0," + winStats + ",location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=" + winWidth + ",height=" + winHeight + '"');
		Notice.document.open();
		Notice.document.write("<HTML><HEAD>");
		Notice.document.write("<TITLE>" + viewTitle + "</TITLE>");
		Notice.document.write("<STYLE type='text/css'>body{margin-top: 8px; margin-left: 8px; margin-right: 0px; margin-bottom: 0px;");
		Notice.document.write("padding-top: 5; padding-left: 0; padding-right: 0; padding-bottom: 0; border-top: 0; border-left: 0; border-bottom: 0; border-right: 0; width: auto}</style>");
		Notice.document.write("</HEAD><BODY bgcolor='#6699CC'><center>");
		Notice.document.write(message);
		Notice.document.write("<FORM><INPUT TYPE='button' VALUE='Close' onClick='window.close()'></FORM>");
		Notice.document.write("</CENTER>");
		Notice.document.write("</BODY></HTML>");
		Notice.document.close();
		//clearID=Notice.setTimeout("self.close()",10000)
	}
//*******************************************************************************************************8
// removed for development only TDC 12/30/04
//document.write('<script src="', 'http://www.waikoloa-realty.com/js-files/WRIsendrequest.js', '" type="text/JavaScript"><\/script>');
//*******************************************************************************************************8

	// browser check and if less than 4 send alert and do not load page
	function browserchk(pageName)
	{
		if( parseInt(navigator.appVersion)>=4)
		{
			gotopage(pageName);
		}
		else
		{	 	
			alert("Sorry, this page requires Internet Explorer or Netscape Navigator version ver. 4 to or greater to view.");
	 	}
	}
	// This code is used for home page and pointer pages
	function browserchk1()
	{
		if( parseInt(navigator.appVersion)<4)
		{
			var winHeight = 140;
			var winWidth = 400;
			var viewTitle = "Not all pages viewable in";
			var message = "<span>This site is best viewed with Internet Explorer or Netscape Navigator ver. 4 or greater, some pages may not be viewable!</span><br><br>";
			message += "<span>Please contact us and we will assist you with any inquiries.</span>";
			sendAlert(viewTitle,winWidth,winHeight,message);
			document.write("<font color='Red'>This site is best viewed with Internet Explorer<br>or Netscape Navigator ver. 4 or greater</font>");
		}
		else
		{
			document.write("<br>");
		}
	}

//*******************************************************************************************************8
//* test code goes here

// end hiding -->