/**
 * @author Developing
 */

$(document).ready( function()
{
	
	$(".smallImg").click( function()
	{
		var id = parseInt($(this).attr('id'));
		newwindow=window.open(infoScriptPath+",id-"+id+"/", "PopUp"+id,'height=600,width=600,top=0,left=0');
		if (window.focus) {newwindow.focus()}
	} );
	
	
	
} );






/*function changeCurrencyRate(newRate, newSufix, newID)
{
	$("#priceSufix").text(newSufix);
	$("td.priceCell > span").each( function(i)
	{
		$newPrice = $(this).attr('title') / newRate;
		$(this).text( $newPrice.toFixed(2) );
	} );
	
	createCookie("currentCurrencyID", newID, 7);
}

function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}

*/

