function offerBoxMod(linknum){

	var link1; 
//<!-- Beginning of meebo me widget code. Want to talk with visitors on your page? Go to http://www.meebome.com/ and get your widget! -->
var link2 = "<div style='width:325px'><style>.mcrmeebo { display: block; background:url('http://widget.meebo.com/r.gif') no-repeat top right; } .mcrmeebo:hover { background:url('http://widget.meebo.com/ro.gif') no-repeat top right; } </style><embed src='http://widget.meebo.com/mcr.swf?id=UEiOfcIOgj' type='application/x-shockwave-flash' width='325' height='280' /><a href='http://www.meebo.com/rooms' class='mcrmeebo'><img alt='http://www.meebo.com/rooms' src='http://widget.meebo.com/b.gif' width='325' height='45' style='border:0px'/></a></div>";


/*	var link2 = "<div style='width:325px'><style>.mcrmeebo { display: block; background:url('http://widget.meebo.com/r.gif') no-repeat top right; } .mcrmeebo:hover { background:url('http://widget.meebo.com/ro.gif') no-repeat top right; } </style><embed src='http://widget.meebo.com/mcr.swf?id=TfMPlJZMnP' type='application/x-shockwave-flash' width='325' height='280' /><a href='http://www.meebo.com/rooms' class='mcrmeebo'><img alt='http://www.meebo.com/rooms' src='http://widget.meebo.com/b.gif' width='325' height='280' style='border:0px'/></a></div>"; */
	
	var link3 = "<iframe src='feedback.htm' width='100%' height='100%' scrolling='no'></iframe>";


	/* var link3 = "<SPAN class='stOfferbox'>\
			<form id='feedbackform' name='feedbackform' action='' onsubmit='feedbacksubmit()'>\
			<table width='100%'>\
				<tr>\
					<td><br /></td>\
				</tr>\
				<tr>\
					<td style='font-size: 17px;'>Let us know your thoughts about the site.</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 17px;'>We appreciate your feedback.</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 17px;'>Enter comments here:</td>\
				</tr>\
				<tr>\
					<td></td>\
				</tr>\
				<tr>\
					<td><textarea cols=30 rows=5></textarea></td>\
				</tr>\
				<tr>\
					<td><input type='submit' value='Submit'></td>\
				</tr>\
			</table>\
			</form>\
			</SPAN>";
*/
	document.getElementById("elemOfferbox").innerHTML = eval("link"+linknum);
}
function homeDataBoxMod(linknum){
var link1 = "<img src='livroom.jpg' />";
var link2 = "<SPAN class='stSpecbox'>\
			<TABLE>\
				<tr>\
						<td style='color:#000000; text-align:center;'>\
						3714 Hacienda Street  <br />\
						SPECIFICATIONS\
					</td>\ </SPAN>\
				</tr>\
				<tr>\
					<td></td>\
				</tr>\
				<tr>\
					<td>\
						<ul>\
							<li style='font-weight: normal; font-size: 12px;'>Price: $819,500</li>\
							<li style='font-weight: normal; font-size: 12px;'>Property Status: Active</li>\
							<li style='font-weight: normal; font-size: 12px;'>Date of Listing: 9/23/2007</li>\
							<li style='font-weight: normal; font-size: 12px;'>MLS Number: 753616</li>\
						</ul>\
					</td>\
				</tr>\
				<tr>\
					<td>\
						Property Specs\
					</td>\
				</tr>\
				<tr>\
					<td></td>\
				</tr>\
				<tr>\
					<td>\
						<ul>\
							<li style='font-weight: normal; font-size: 12px;'>Year Built: 1925</li>\
							<li style='font-weight: normal; font-size: 12px;'>Bedrooms: 3</li>\
							<li style='font-weight: normal; font-size: 12px;'>Bathrooms: 1</li>\
							<li style='font-weight: normal; font-size: 12px;'>Parking: Double Garage Parking 2 Car Garage</li>\
							<li style='font-weight: normal; font-size: 12px;'>Interior Size: 1440 sq. ft.</li>\
							<li style='font-weight: normal; font-size: 12px;'>Lot: 5001 sq. ft.</li>\
						</ul>\
					</td>\
				</tr>\
				<tr>\
					<td>\
						Key Property Features\
					</td>\
				</tr>\
				<tr>\
					<td></td>\
				</tr>\
				<tr>\
					<td>\
						<ul>\
							<li style='font-weight: normal; font-size: 12px;'>Appliances: Washer, Dryer, Dishwasher, Oven and Refrigerator included</li>\
							<li style='font-weight: normal; font-size: 12px;'>Exterior Finish: Wood</li>\
							<li style='font-weight: normal; font-size: 12px;'>Fenced Back Yard</li>\
							<li style='font-weight: normal; font-size: 12px;'>Wood Burning Fireplace</li>\
							<li style='font-weight: normal; font-size: 12px;'>Floors: Hardwood</li>\
							<li style='font-weight: normal; font-size: 12px;'>Foundation: Concrete Perimeter</li>\
							<li style='font-weight: normal; font-size: 12px;'>Heating: Forced Air</li>\
							<li style='font-weight: normal; font-size: 12px;'>Other Areas: Large Attic</li>\
							<li style='font-weight: normal; font-size: 12px;'>Covered Patio in the front</li>\
							<li style='font-weight: normal; font-size: 12px;'>Sub Area: Westwood Knolls Etc.</li>\
							<li style='font-weight: normal; font-size: 12px;'>Zoning: R100</li>\
						</ul>\
					</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'>\
						For More Information<br />\
						<a href='http://www.3714haciendast.com'>http://www.3714haciendast.com</a>\
					</td>\
				</tr>\
			</TABLE>\
		</SPAN>";

var link3;

var link4 = "<iframe width='360' height='280' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='http://maps.google.com/maps?q=3714+HACIENDA+ST,SAN+MATEO,California+94403&amp;ie=UTF8&amp;z=14&amp;iwloc=addr&amp;om=1&amp;ll=37.538793,-122.298174&amp;output=embed&amp;s=AARTsJqWeSdThntQxPAts3qo6s_DNwAJmg'></iframe><br /><small><a href='http://maps.google.com/maps?q=3714+HACIENDA+ST,SAN+MATEO,California+94403&amp;ie=UTF8&amp;z=14&amp;iwloc=addr&amp;om=1&amp;ll=37.538793,-122.298174&amp;source=embed' style='color:#0000FF;text-align:left'>View Larger Map</a></small>";

var link5;

	document.getElementById("elemHomeDatabox").innerHTML = eval("link"+linknum);
}



function portraitImgBoxMod(linknum){

var link1 = "<center><br /><br /><img src='artur.jpg' /></center>";

var link2 = "<center><br /><br /><SPAN class='stContactbox'>\
	<TABLE>\
		<tr>\
			<td style='font-weight: normal; font-size: 14px; text-align:center'> <strong>Listing Agent: </strong> <br> Artur Urbanski</td>\  <br />\ <br />\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>Cimpler Real Estate, Inc.</td>\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''><a href='http://www.cimpler.com'>www.cimpler.com</a></td>\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>533 Airport Blvd., 4th Fl.</td>\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>Burlingame, CA 94010</td>\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>Office: 650.401.7278</td>\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>Mobile: 415.672.5051</td>\
		</tr>\
		<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>Fax: 650.240.1400</td>\
		</tr>\
			<tr>\
			<td style='font-weight: normal; font-size: 12px; text-align:center''>email: <a href='mailto:privacy@cimpler.com'>artur@cimpler.com</td>\
		</tr>\
	</TABLE>\
	</SPAN></center>";
	document.getElementById("elemPortraitImg").innerHTML = eval("link"+linknum);

}

function feedbacksubmit(){
var feedbackreturn = "<SPAN class='stOfferbox'>\
			<table width='100%'>\
				<tr>\
					<td><br /></td>\
				</tr>\
				<tr>\
					<td style='font-size: 17px;'>Thank you for your comments.</td>\
				</tr>\
			</table>\
			</SPAN>";
	document.getElementById("elemOfferbox").innerHTML = feedbackreturn;
}
function modIframe(frame,src,height){
	document.getElementById(frame).height = height;
	document.getElementById(frame).src = src;
}

