// JavaScript Library ShopCard.JS

/*
'***************************************************************************
' Source Code Function Library (SFL)
' Various Functions used in General Search
' Copyright(c) 2001, es promotion, Basel - Switzerland
'
' Revision:
' 01-12-17 viral	Initiale Version
'***************************************************************************
*/

	
	function OpenProduct(ProdId)
	{
		//This opens a new window displaying the information of the product clicked.
		//This passes product id in ProductsId as querystring.
		window.open("ShowProduct.asp?ProductsId="+ProdId,'Product','width=500,height=500,resizable=no,scrollbars=yes,top=5');
	}	

	function OpenInofrmation(InfoId)
	{
		//This opens a new window displaying the information of the product clicked.
		//This passes product id in ProductsId as querystring.
		window.open("ShowInformation.asp?InfoId="+InfoId,'Information','width=500,height=500,resizable=no,scrollbars=yes,top=5');
	}
	
	function OpenNews(InfoId)
	{
		//This opens a new window displaying the information of the product clicked.
		//This passes product id in ProductsId as querystring.
		window.open("showNews.asp?InfoId="+InfoId,'News','width=500,height=500,resizable=no,scrollbars=yes,top=5');
	}

	function OpenPopup(ImgId)
	{
		//This opens a new window displaying the information of the product clicked.
		//This passes product id in ProductsId as querystring.
		window.open("showImage.asp?ImgId="+ImgId,'ImagePopup','width=500,height=500,resizable=yes,scrollbars=yes,top=5');
	}	
