/*	To Load A Recipe Include this script and the following link should be used:	javascript:PopUpRecipe( RecipeURL, PictureURL );		where RecipeURL is a URL to the Recipe XML Document and	PictureURL is a URL to the picture of the Recipe (must be a jpg).	FullPage is a URL to the full page version which is show for the Mac platform*/			var		CHeight = 4;	//Height Of Recipe Card	var		CWidth = 6;		//Width Of Recipe Card	var		RURL = "";	var		PURL = "";	var		FURL = "";					//pages to go to	//var		RecPage = "RecipeCheck.html";	var		RecPage = "RecipeFlashCard.html";	var		ErrPage = "upgrade_flash/upgrade_mac.html";					//properties for pop up window	var		PopString = "menubar=0,HEIGHT=660,WIDTH=504";function PopUpRecipe( RecURL, PictURL, FullPage ){		//save URL of Recipe and Picture	RURL = RecURL;	PURL = PictURL;	FURL = FullPage;		var		IsNet;	var		IsMac;	var		IsIE;			//find out if platform and browser	IsMac = (navigator.platform.indexOf("Mac") < 0) ? 0 : 1;	IsNet = (navigator.appName.indexOf("Netscape") < 0) ? 0: 1;	IsIE = (navigator.appName.indexOf("Explorer") < 0) ? 0 : 1;			//Check for Netscape 6.0, 6.1	if( (IsNet) && ( (navigator.appVersion.indexOf("6.0") > 0) || (navigator.appVersion.indexOf("6.1") > 0) ) )	{		window.open(ErrPage, "PopWindow");	}	else if( (IsMac) && (IsIE) )	//Mac and IE	{		window.open(ErrPage, "PopWindow");	}	else	//Check browser	{		window.open(RecPage, "PopWindow", PopString);	}}