var remember= new Array(1); 
var myleft=0;
var mytop=0;

//GetPropertyInvestmentApp();

function HideShow(id) 
{	
	ileft = (document.body.clientWidth /2) - 140;
	document.getElementById("sp1").style.top=mytop;
	
	if(document.getElementById(id).innerHTML=="")
	{
		window.location.href="http://www.1stpropertyinvestment.co.uk/Data-Capture.aspx";
		//document.getElementById(id).innerHTML=remember[id];
		//document.getElementById("Sign_" + id).value=" X ";
		//document.getElementById("td1").align="right";
		//document.getElementById("sp1").style.left=ileft;
		
	}
	else
	{
		remember[id]=document.getElementById(id).innerHTML;
		document.getElementById(id).innerHTML="";
		document.getElementById("Sign_" + id).value="Request a FREE Consultation";
		document.getElementById("Sign_" + id).style.width=290;
		document.getElementById("td1").align="center";
		document.getElementById("sp1").style.left=ileft + 287;
	}

}








function Investment_Property_InFlow(isOpen) 
{ 
try{ 
sF = "<span id=sp1 style='background-color: #6699cc;border-width: 1px;border-style: outset;border-color: #6699cc;visibility : visible;z-index : 8; filter:alpha(opacity=90);-moz-opacity:.90;opacity:.90;'>"
sF = sF + "<table cellSpacing='0' cellPadding='0' width='100' border=2 borderColor=#557799>"
sF = sF + "<TR><td id=td1 align='right' nowrap >"
sF = sF + "<input  tabindex=1 type='submit' name='Sign_ID_476' value=' X ' id='Sign_ID_476'  onclick='HideShow(\"ID_476\");return false;'  />"
sF = sF + ""
sF = sF + "<span id=ID_476>"
sF = sF + "<!--Start ID_476-->"
//sF = sF + "<form name='Form1' method='post' action='http://www.1stpropertyinvestment.co.uk/property-investment.aspx' id='Form1' style='padding:0px;margin:0px;'>"
sF = sF + "<table width='300px' align='center' style='padding:0px;margin:0px;text-align:center'>	"
sF = sF + "	<tr>"
sF = sF + "		<td width='300px' valign='top' align='center'>"
sF = sF + "			<h3 style='padding:5px;color:black;font-size:11pt;margin-bottom:10px;'>Please complete the form below for a FREE consultation.</h3>"
sF = sF + "			<table align='center' style='padding:0px;margin:0px;'>"
sF = sF + "				<tr>"
sF = sF + "					<td id='WarningCell' colspan='2'></td>"
sF = sF + ""
sF = sF + "				</tr>"	
sF = sF + "				<tr>"
sF = sF + "					<td align='left' style='color:black;font-size:8pt;padding-left:4px;' >Name :"
sF = sF + "					</td>"
sF = sF + "					<td align='left'><input name='Validatedtextbox1$TextBox' type='text' id='Validatedtextbox1_TextBox' />&nbsp;"
sF = sF + "					</td>"
sF = sF + "				</tr>"
sF = sF + "				<tr>"
sF = sF + "					<td align='left' style='color:black;font-size:8pt;padding-left:4px'>Email :"
sF = sF + "					</td>"
sF = sF + "					<td align='left'><input name='Validatedtextbox2$TextBox' type='text' id='Validatedtextbox2_TextBox' />&nbsp;"
sF = sF + "					</td>"
sF = sF + "				</tr>"
sF = sF + "				<tr>"
sF = sF + "					<td align='left' style='color:black;font-size:8pt;padding-left:4px'>Telephone :"
sF = sF + "					</td>"
sF = sF + "					<td align='left'><input name='Validatedtextbox3$TextBox' type='text' id='Validatedtextbox3_TextBox' />&nbsp;"
sF = sF + "					</td>"
sF = sF + "				</tr>"
sF = sF + "				<tr>"
sF = sF + "					<td align='left' style='color:black;font-size:8pt;padding-left:4px'>Mobile :"
sF = sF + "					</td>"
sF = sF + "					<td align='left'><input name='Validatedtextbox4$TextBox' type='text' id='Validatedtextbox4_TextBox' />&nbsp;"
sF = sF + "					</td>"
sF = sF + "				</tr>"
sF = sF + "				<tr>"
sF = sF + "					<td align='center' colspan='2'>&nbsp;"
sF = sF + "					</td>"
sF = sF + "				</tr>"
sF = sF + "				<tr>"
sF = sF + "					<td align='center' colspan='2'><input type='submit' name='Button1' value='Submit' target='http://www.1stpropertyinvestment.co.uk/property-investment.aspx' id='Button1' />"
sF = sF + "					</td>"
sF = sF + "				</tr>"
sF = sF + "			</table>"
sF = sF + ""
sF = sF + "		</td>"
sF = sF + "	</tr>"
sF = sF + "</table>"	
//sF = sF + "</form>"
sF = sF + "<!--End ID_476-->"
sF = sF + "</span>"
sF = sF + "</td></TR>"
sF = sF + "</table>"
sF = sF + "</span>"

document.getElementById("InvestmentProperty").innerHTML=sF; 

if(isOpen==0)
	HideShow("ID_476");

//document.getElementById("InvestmentApp").innerHTML = sF; 
} 
catch(e)
{ //alert(e); 
} 

return true; 
}