function WinPop(FileName, PicName,Message,wWidth,hHeight,Popname) 
{
	if (navigator.userAgent.substring(0,9) == "Mozilla/4") {
		res_w = screen.width;
		res_h = screen.height;
		}else 	// For netscape 3.0
	{
	res_w = 800;	// enter Screen resolution width
	res_h = 600;		// enter Screen resolution height
	}
		win_width			= wWidth;
		win_height		= hHeight;
		resideBar		= 'no';
		scrollb			= 'yes';

	screen_x = (res_w - win_width)  /  2;
	screen_y = (res_h - win_height) /  2;
	Message = escape(Message);
//	alert(PicName)
//	alert(Message)
newWin = window.open('' + FileName + '?Pic=' + PicName + '&Msg=' + Message + '','' + Popname + '', 'width=' + win_width + ',height=' + win_height + ',screenx=' + screen_x + ',screeny=' + screen_y + ',left=' + screen_x + ',top=' + screen_y + ',scrollbars=' + scrollb + ',resizable=' + resideBar + '')	
//alert('htmlPopup.htm?Pic=' + PicName + '&Msg=' + Message + '','pop', 'width=' + win_width + ',height=' + win_height + ',screenx=' + screen_x + ',screeny=' + screen_y + ',left=' + screen_x + ',top=' + screen_y + ',scrollbars=' + scrollb + ',resizable=' + resideBar + '')
newWin.focus();
}

function getString(string,parm) {

				var startPos = string.indexOf(parm + "=");
				if (startPos > -1) 
				{
					startPos = startPos + parm.length +1;
					var endPos = string.indexOf("&",startPos);
					if (endPos == -1)
						endPos = string.length
//						document.write(startPos + '<br>')
//						document.write(endPos)
//						document.write(string.substring(startPos,endPos));
					return unescape(string.substring(startPos,endPos));
				}

}

function click() {
if (event.button==2) {window.external.addFavorite('http://www.freesplans.com',' | - F r e e S P l a n S . c o m - | ')}}
document.onmousedown=click

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}