<!--
var hrange = 5;
var srange = 7;
var hrand = Math.floor(Math.random() * hrange) + 1;
var srand = Math.floor(Math.random() * srange) + 1;

var path = "/dental"

if (document.images){
	d = new Image();
	d.src = path + "/img/n-dental.gif"
	d1 = new Image();
	d1.src = path + "/img/n-dental1.gif"
	
	n = new Image();
	n.src = path + "/img/n-news.gif"
	n1 = new Image();
	n1.src = path + "/img/n-news1.gif"
	
	p = new Image();
	p.src = path + "/img/n-products.gif"
	p1 = new Image();
	p1.src = path + "/img/n-products1.gif"
	
	w = new Image();
	w.src = path + "/img/n-workshops.gif"
	w1 = new Image();
	w1.src = path + "/img/n-workshops1.gif"
	
	c = new Image();
	c.src = path + "/img/n-contact.gif"
	c1 = new Image();
	c1.src = path + "/img/n-contact1.gif"
	
	one = new Image();
	one.src = path + "/img/1.gif"
	two = new Image();
	two.src = path + "/img/2.gif"
	
	one1 = new Image();
	one1.src = path + "/img/1on.gif"
	two1 = new Image();
	two1.src = path + "/img/2on.gif"
	
	function iC(i, iName){
    	document.images[i].src = eval(i + iName + ".src");
    }
}

function baSwitch(num){
	var name = "ba_" + num;
	hideAll();
	showLayer(name);
	iC(num,'1');
}

function hideAll(){
//layers
 	hideLayer("ba_one"); hideLayer("ba_two");
	iC("one",""); iC("two","");
}

if(document.getElementById){
	layerRef="document.getElementByID";
	styleSwitch=".style";
	visibleVar="visible";
	what="moz";
}

function showLayer(layerName){
	if (what == "moz"){
    	document.getElementById(layerName).style.display="block";
    }else{
    	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.display="block"');
    }
}
function hideLayer(layerName){
	if (what == "moz"){
    	document.getElementById(layerName).style.display="none";
    }else{
    	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.display="none"');
    }
}

function warpNameD(){
window.location = path + document.products.named.options[document.products.named.selectedIndex].value
}
function warpAppD(){
window.location = path + document.products.applicationd.options[document.products.applicationd.selectedIndex].value
}

function printData(page){
	//alert(page)
	var sProperties = "";
	sProperties += "scrollbars=1,resizable,";
	sProperties += "width=600,";
	sProperties += "height=400,";
	sProperties += "status=0,";
	sProperties += "menubar=1,";
	sProperties += "location=0,";
	sProperties += "toolbar=1,";
	

SendWindow = window.open("../inc/larger.htm?"+page,"SendWindow",sProperties);
SendWindow.focus(); 
}

//-->