function openMag(url)
	{
	w = screen.width;
	h = screen.height;
	var win = window.open(url,
	'surfshot',
	'width=' + w + ', height=' + h + ', ' +
	'location=no, menubar=no, ' +
	'status=no, toolbar=no, scrollbars=yes, resizable=yes');
	win.resizeTo(w, h);
	win.focus();
}

document.write("<div style='width: 175px; border:1px solid #ccc; background-color:#f3f3f3;'>");
		document.write("<h2 style='font-family:arial,helvetica,clean,sans-serif; padding:0px 3px 1px 5px; color:#000; margin:0 0 5px 0; border-bottom:1px solid #ccc; background-position:0 -2px; background:url(http://static.surfshot.com/images/h2_gray.jpg) repeat-x; font-size:16px; font-weight:normal; text-align: center;'>SurfShot Magazine</h2>");
		document.write("<center><a href='javascript:openMag(\"http://www.surfshot-corp.com/flash/e_mag/mags/latest/mag.php\")'><img width='150' vspace='7' border='0' src='http://www.surfshot-corp.com/flash/e_mag/mags/latest/cover.jpg'/></a><br/><a href='http://www.surfshot.com' style='font-family:arial,helvetica,clean,sans-serif; font-size:13px; text-decoration:none;'>www.surfshot.com</a></center>");				
		document.write("<p style='border-top: 1px solid rgb(204, 204, 204); font-family:arial,helvetica,clean,sans-serif; font-size:11px; margin:0px; padding:2px 0px 2px 3px; background-color:#fff; text-align:left;'><a href='javascript:openMag(\"http://www.surfshot-corp.com/flash/e_mag/mags/latest/mag.php\")' style='text-decoration:none;'>+ Browse Magazine</a></p>");
document.write("</div>");
