function offerBoxMod(linknum){

	var link1; 
	
/* "<SPAN class='stOfferbox'>\
	<table width='100%'>\
				<tr>\
					<td style='font-size: 18px;'>934 Loraine Ave, Los Altos, CA </td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 18px;'>2 bed / 2 bath</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 18px; font-style: italic;'>Great neighborhood and schools!</td>\
				</tr>\
				<tr>\
					<td></td>\
				</tr>\
				<tr>\
					<td style='font-size: 16px;'> Open Houses</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'>Sunday, 10/28/07 1:00PM - 4:00PM</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'>Sunday, 11/4/07 1:00PM - 4:00PM</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'></td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'></td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'></td>\
				</tr>\
				<tr>\
					<td><a href='http://www.cimplebid.com' target='_blank'><br><img border=0 src='bidnow.gif'></a></td>\
				</tr>\
			</table>\
			</SPAN>"; */
			
//<!-- 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=iYHprDXNmq' 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='VerandaDisclosures.jpg'  width='356'  />";
var link2 = "<SPAN class='stSpecbox'>\
			<TABLE>\
				<tr>\
						<td style='color:#000000; text-align:center;'>\
						491 Pointe Pacific Dr #2 <br />\
						SPECIFICATIONS\
					</td>\ </SPAN>\
				</tr>\
				<tr>\
					<td></td>\
				</tr>\
				<tr>\
					<td>\
						<ul>\
							<li style='font-weight: normal; font-size: 12px;'>Price: $599,000</li>\
							<li style='font-weight: normal; font-size: 12px;'>Property Status: Active</li>\
							<li style='font-weight: normal; font-size: 12px;'>Date of Listing: 10/31/2007</li>\
							<li style='font-weight: normal; font-size: 12px;'>MLS Number: 760458</li>\
							<li style='font-weight: normal; font-size: 12px;'><strong>NOTE: THIS IS A SHORT SALE</strong></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: 1986</li>\
							<li style='font-weight: normal; font-size: 12px;'>Gated Community</li>\
							<li style='font-weight: normal; font-size: 12px;'>Bedrooms: 3</li>\
							<li style='font-weight: normal; font-size: 12px;'>Bathrooms: 2-1/2</li>\
							<li style='font-weight: normal; font-size: 12px;'>Parking: Garage Parking + reserved parking spaces </li>\
							<li style='font-weight: normal; font-size: 12px;'>Interior Size: 1630 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, Range, Oven and Refrigerator included</li>\
							<li style='font-weight: normal; font-size: 12px;'>Wood Burning Fireplace</li>\
							<li style='font-weight: normal; font-size: 12px;'>Floors: Wall-to-Wall Carpeting</li>\
							<li style='font-weight: normal; font-size: 12px;'>Foundation: Post and Pier</li>\
							<li style='font-weight: normal; font-size: 12px;'>Heating: Electric</li>\
							<li style='font-weight: normal; font-size: 12px;'>Other Areas: Master Bedroom Suite</li>\
							</ul>\
					</td>\
				</tr>\
				<tr>\
					<td style='font-weight: normal; font-size: 12px;'>\
						For More Information Go To:<br />\
						<a href='http://www.491PointePacificDr.com'>http://www.491PointePacificDr.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?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=491+Pointe+pACIFIC%3B,+Daly+City,+CA&amp;sll=37.0625,-95.677068&amp;sspn=69.738802,108.808594&amp;ie=UTF8&amp;om=1&amp;s=AARTsJrNHn0JFPqpvskmo-vAIv3WzbwdUw&amp;ll=37.70922,-122.452927&amp;spn=0.019013,0.030899&amp;z=14&amp;iwloc=addr&amp;output=embed'></iframe><br /><small><a href='http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=491+Pointe+pACIFIC%3B,+Daly+City,+CA&amp;sll=37.0625,-95.677068&amp;sspn=69.738802,108.808594&amp;ie=UTF8&amp;om=1&amp;ll=37.70922,-122.452927&amp;spn=0.019013,0.030899&amp;z=14&amp;iwloc=addr&amp;source=embed' style='color:#0000FF;text-align:left'>View Larger Map</a></small>";


var link5 = "<img src='PontePacificHouseInfo.jpg' width='356'  />";

	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;
}


