<!--
function SubmitForm(fuseaction)
{
document.propertysearchform.fuseaction.value = fuseaction;
document.propertysearchform.submit();
}

function ChangeFormmode(formmode)
{
document.propertysearchform.fuseaction.value = "form";
document.propertysearchform.formmode.value = formmode;
document.propertysearchform.submit();
}

function ChangeShowSub(ShowSub)
{
document.propertysearchform.fuseaction.value = "form";
document.propertysearchform.action += "#propertyTypes";
document.propertysearchform.showSub.value = ShowSub;
document.propertysearchform.submit();
}

function ChangeShowCouncils(ShowCouncils)
{
document.propertysearchform.fuseaction.value = "form";
document.propertysearchform.action += "#council";
document.propertysearchform.showCouncils.value = ShowCouncils;
document.propertysearchform.submit();
}

function ChangeShowLEC(ShowLEC)
{
document.propertysearchform.fuseaction.value = "form";
document.propertysearchform.action += "#LEC";
document.propertysearchform.showLEC.value = ShowLEC;
document.propertysearchform.submit();
}

function ChangeShowLEDC(ShowLEDC)
{
document.propertysearchform.action += "#LEDC";
document.propertysearchform.showLEDC.value = ShowLEDC;
document.propertysearchform.submit();
}

function ChangeSearchType(SearchType)
{
document.propertysearchform.propsearchtype.value = SearchType;
document.propertysearchform.fuseaction.value = "form";
document.propertysearchform.submit();
}



function SubmitMapForm (fuseaction,ulacode)
{
document.mapform.fuseaction.value = fuseaction; 
document.mapform.add_ulacode.value = ulacode;
document.mapform.submit(); 
}

function RemoveULAcode (fuseaction,ulacode)
{
document.mapform.fuseaction.value = fuseaction; 
document.mapform.remove_ulacode.value = ulacode;
document.mapform.submit(); 
}

function NewWindow( windowURL, windowName, windowFeatures ) 
	{  newwin = window.open( windowURL, windowName, windowFeatures ) ; 
	newwin.focus();
	} 

function LookupWindow	(windowURL, variablename, windowName, windowFeatures)
	{
			fullwindowurl= windowURL + variablename;
			newwin = window.open( fullwindowurl, windowName, windowFeatures ) ; 
			newwin.focus();
			
	
	/*alert("Variable Name = " + variablename +
	"\rFullwindowURL = " + fullwindowurl );*/
	} 
	
function NewFullSizeWindow(windowURL, windowName) 
{ 
    var str = "left=0,screenX=0,top=0,screenY=0,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes";
    if (window.screen) {
      var ah = screen.availHeight - 30;
      var aw = screen.availWidth - 10;
      str += ",height=" + ah;
      str += ",innerHeight=" + ah;
      str += ",width=" + aw;
      str += ",innerWidth=" + aw;
	   }
    newwin = window.open(windowURL, windowName, str);
	newwin.focus();
} 

	function BookmarkSPN() {
    window.external.AddFavorite('http://www.scottishproperty.co.uk/',
                                'Scottish Property Network'); }

function closeme()
	{
	
	if(opener.focus)
	{
	window.close();
	opener.focus()
	}
	else
	{document.location.href="/";}
	}		
<!-- 
function HideRow(rowid)
{
rowid.style.display='none';
}

function DisplayRow(rowid)
{
rowid.style.display='block';
}

function ToggleRow(showrow,hiderow)
{
showrow.style.display='block';
hiderow.style.display='none'; 
}
	
// -->						
-->								