/*
	QShop E-Commerce Solutions
	Copyright@Visual Technologies inc. 2002 - 2011
	http://qshop.com.pl
	This software is copyrighted, do not attempt to copy without permission
*/
function price_propose_check(evt) {
	var charCode = (evt.which) ? evt.which : event.keyCode
	if(charCode==46) {
		return true;
	} else {
    if (charCode > 31 && (charCode < 48 || charCode > 57))
		{
			return false;
		} else {
			return true;
		}
	}
}
function eregi(chaine,find) {
	var norm = new RegExp( find );
	return norm.exec( chaine )!=null;
}
function querystring(url, qs) { 
	var pat = new RegExp("[?#]" + qs + "=([^&]*)"); 
	var a = new Array; 
	a = url.match(pat); 
	if (a != null) return (a[1]); 
	return "";  
}
function npic(liczba) 
{ 
	if(document.images) 
	{ 
		try {
			document.picture.src = "pictures/"+document.getElementById('pic'+liczba).value; 
			document.picform.width_pic = document.getElementById('width_pic'+liczba).value; 
			document.picform.height_pic = document.getElementById('height_pic'+liczba).value; 
			document.getElementById('tab_big_pic').href = "picturesbig/"+document.getElementById('pic'+liczba).value; 
		} catch(Error) {
			
		}
	} 
	try {
		qshop_zoom.reset_div_link(liczba);	
	}
	catch(error) {
		
	}
} 

