function popitup(url,hh,ww) {
	newwindow=window.open(url,'name','height='+hh+',width='+ww+',resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=0');
	if (window.focus) {newwindow.focus()}
	return false;
}
function displayElement(el)
	{
		var element = document.getElementById(el);
		element.style.visibility = "visible";
	}
	
function hideElement(el)
	{
		var element = document.getElementById(el);
		element.style.visibility = "hidden";
	}
	
function makeBorder(el1,el2){
		var element1 = document.getElementById(el1);
		var element2 = document.getElementById(el2);
		
		element1.style.background = "#f3f3f3";
		element2.style.background = "#f3f3f3";
		
		element2.className = "wbAll";
		element1.className = "wbTLR";
	}

function hideBorder(el1,el2){
		var element1 = document.getElementById(el1);
		element1.className = "wbwTLR";
		element1.style.background = "";
	}
	


function setProductPrice(product_id, priceContainer,productContainer){
		var productPriceHolder = document.getElementById(priceContainer);
		var productHolder = document.getElementById(productContainer);
		
		var productPrice;
		if(product_id == '68'){
			productPrice = 195;
			}else 
		if(product_id == '69'){
			productPrice = 245;
			}
		 
		productPriceHolder.value = productPrice;
		productHolder.value = product_id;
	}
	
function changeLanguage(language){
		if(language == 'en'){
			location.href = 'http://hdfvr.com';
		}else
		if(language == 'fr'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=fr';
		}else
		if(language == 'de'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=de';
		}else
		if(language == 'it'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=it';
		}else
		if(language == 'hb'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=ar';
		}else
		if(language == 'ch'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=zh-TW';
		}else
		if(language == 'pt'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=pt';
		}else
		if(language == 'ru'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=ru';
		}else
		if(language == 'tr'){
			location.href = 'http://translate.google.com/translate?js=y&prev=_t&hl=ro&ie=UTF-8&u=http://hdfvr.com/index.php&sl=en&tl=tr';
		}
	}