//@BEGINVERSIONINFO

//@APPVERSION: 50.4011.0.2

//@FILENAME: sfemailfriend.asp
	 


//@DESCRIPTION: Handles Opening of Email Page

//@STARTCOPYRIGHT
//The contents of this file is protected under the United States
//copyright laws as an unpublished work, and is confidential and proprietary to
//LaGarde, Incorporated.  Its use or disclosure in whole or in part without the
//expressed written permission of LaGarde, Incorporated is expressly prohibited.

//(c) Copyright 2000 by LaGarde, Incorporated.  All rights reserved.
//@ENDCOPYRIGHT

//@ENDVERSIONINFO

function emailFriend(sName){
	var h, w, friendWin
	h = window.screen.availHeight 
	w = window.screen.availWidth
	if (w == "800") {
		sFeatures = "height=" + h*.75 + ",width=" + h*1.15 + ",screenY=" + (h*.05) + ",screenX=" + (w*.05) + ",top=" + (h*.05) + ",left=" + (w*.05) + ",resizable"
	}
	else {
		sFeatures = "height=" + h*.45 + ",width=" + w*.55 + ",resizable"
	}
	friendWin = window.open("EmailFriend.asp?ProdID="+sName,"",sFeatures)
	
}

function emailSubReq(avar){
	var h, w, subreqWin
	h = window.screen.availHeight 
	w = window.screen.availWidth 
	if (w == "800") {
		sFeatures = "height=" + h*.55 + ",width=" + h*1.2 + ",screenY=" + (h*.15) + ",screenX=" + (w*.03) + ",top=" + (h*.15) + ",left=" + (w*.03) + ",resizable"
	}
	else {
		sFeatures = "height=" + h*.40 + ",width=" + w*.65 + ",resizable"
	}

	subreqWin = window.open("SubscriptionRequest.asp","",sFeatures)
	
}


