function set_page(id) {
	document.forms.formular.pagina.value = id;
	document.forms.formular.submit();
}
		
function modificare(ce, mod) {
	document.forms.formular.ord.value = ce;
	document.forms.formular.mod.value = mod;
	document.forms.formular.submit();
}
		
function externalLinks() {
	 if (!document.getElementsByTagName) return;
	 var anchors = document.getElementsByTagName("a");
	 
	 for (var i=0; i<anchors.length; i++) {
	   var anchor = anchors[i];
	   if (anchor.getAttribute("href") &&
			(anchors[i].getAttribute("rel") == "external" || anchors[i].getAttribute("rel") == "external nofollow")
			)
	     anchor.target = "_blank";
	}
}
	
window.onload = function() 
	  {      settings = {
			  tl: { radius: 10 },
			  tr: { radius: 10 },
			  bl: { radius: 10 },
			  br: { radius: 10 },
			  antiAlias: true,
			  autoPad: true,
			  validTags: ["div", "span", "ul"]
		  }
			
		  var roundPix = new curvyCorners(settings, "roundPic");
		  roundPix.applyCornersToAll();
		 
		 externalLinks();
	  }
		
	 if (document.all && document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule)
	 {
	  document.styleSheets[0].addRule('#nav', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#quick-links', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#ap-lux', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#ap-lux-link', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#bun-venit', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('h3', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#oferte', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#calculator', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('.more-btn', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#ql-bbg', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#content', 'behavior: url(js/iepngfix.htc)');
	  document.styleSheets[0].addRule('#calculator', 'top:-177px');
		
	 }
	 