// JavaScript Document
function switchThumb(num){
	
	var html = '';
	 if(num == 'address'){
		html = '<form name="thisForm" METHOD="get" action="../iframe.html">'
		+	'<div class="PageHeader">Property Search Address</div>'
		+   '<table id="address" cellpadding="5px" cellspacing="0px" class="contentContainer"><tr>'
		+	'<td><input name="Textbox2" maxlength="255" size="7" id="Textbox2"><br>Street Number<br></td>'
		+	'<td><input name="Textbox1" maxlength="255" size="23" id="Textbox1"><br>Street Name<br></td></td></tr>'
		+   '<tr><td><input type="hidden" name="searchtype" value="address"></td></tr>'
		+   '<tr><td><input type="hidden" name="linkfrom" value="real">'
		+	'<input value="Search" type="submit" id="submit1" name="submit1"></td></tr>'
		+	'</table>'
		+   '<div class="boxText">'
		+   '<p>If you know the address of the property, enter the street number and street name. Do not include '
        +    '"Avenue", "Street", "Boulevard", etc. when you enter the street name. Do not include the street direction ('
		+    '"East", "West", "N", "S", etc.).</p>' 
		+    '<p>If you do not know the street number and just want to see all of the addresses on a particular '
	    +    'street, enter zero (0 ) for the street number or leave it blank. Follow the same instructions as above for '
		+    'the street name.</p></form>'
	 }

/*     if (num == 'owner'){
		html = '<form name="thisForm" METHOD="get" action="../iframe.html">'
		+	'<div class="PageHeader">Property Search by Owner</div>'
		+   '<table id="address" cellpadding="5px" cellspacing="0px" class="contentContainer"><tr>'
		+	'<td><input name="Textbox1" maxlength="255" size="31" id="Textbox1"><br>Owner Name</td></tr>'
		+   '<tr><td><input value="Search" type="submit" id="submit1" name="submit1"></td></tr>'
		+   '<tr><td><input type="hidden" name="linkfrom" value="real">'
		+   '<input type="hidden" name="searchtype" value="owner" >'
		+	'</td></tr></table>'
		+   '<div class="boxText">'
		+   '<p>Enter all or a portion of the property owners name, LAST NAME first, no punctuation. '
		+   'The search is not case sensitive, so you may enter your search criteria in upper or lower case.</p></form>'
	}
*/ 		
		if (num == 'rpc'){
		html = '<form name="thisForm" METHOD="get" action="../iframe.html">'
		+	'<div class="PageHeader">Property Search by LRSN/RPC</div>'
		+   '<table id="address" cellpadding="5px" cellspacing="0px" class="contentContainer"><tr>'
        +   '<td><input name="Textbox1" maxlength="255" size="27" id="Textbox1"><br>LRSN/RPC</td></tr>'
		+	'<tr><td><input value="Search" type="submit" id="submit1" name="submit1"></td></tr>'
		+   '<tr><td><input type="hidden" name="searchtype" value="rpc" >'
		+   '<input type="hidden" name="linkfrom" value="real"></td></tr>'
		+	'</table>'
		+   '<div class="boxText">'
		+   '<p>Enter the Land Record Serial Number in the space above. The <b>LRSN</b> is a '
		+   'unique parcel identifier, automatically generated by the Assessors database system when a parcel '
		+   'of property is added to the database. It does not replace the 26-character PIN number that many users are '
        +   'familiar with (Example: 01A001 00 05027). It is merely another way of identifying a parcel of property. '
		+   'The LRSN has also been referred to as: '
		+   '<ul><li><b>RPC</b> - Real Property Code (Term used by the CPC Tax Collection System)</li> '
		+   '<li><b>Tax Account Number</b></li> '
		+   '<li><b>Account Number</b></li></ul> '
		+   'The <b>LRSN</b> for the same parcel of property in the example above is "1000002".</p></form>'
	}

       if (num == 'pin') {
		html = '<form name="thisForm" METHOD="get" action="../iframe.html">'
		+	'<div class="PageHeader">Property Search PIN</div>'
		+   '<table id="address" cellpadding="5px" cellspacing="0px" class="contentContainer"><tr>'
        +   '<td><input name="Textbox1" maxlength="255" size="28" id="Textbox1"><br>PIN</td></tr>'
		+	'<tr><td><input value="Search" type="submit" id="submit1" name="submit1"></td></tr>'
		+   '<tr><td><input type="hidden" name="searchtype" value="pin" >'
		+   '<input type="hidden" name="linkfrom" value="real"></td></tr>'
		+	'</table>'
		+   '<div class="boxText">'
		+   '<p>Enter all or a portion of the Parcel Identification Number. The PIN can be up to 26 '
		+   'characters long and generally begins with the Tax Map ID number.</p></form>'
	}
		  
	document.getElementById("propsearch").innerHTML = html;

};
