//<!--
var agt=navigator.userAgent.toLowerCase();
var is_ie = (agt.indexOf("msie") != -1);
var is_nav = (agt.indexOf('mozilla')!=-1);
// os detection
var is_pc=(navigator.platform.substring(0,3)=='Win');
var is_mac=(navigator.platform.substring(0,3) == 'Mac')
// resolution check
var sw=screen.availWidth;
var sh=screen.availHeight;

function openFull(){
if(is_ie&&is_pc){
indexz=window.open("http://www.gemstone.de/gemstones/wcwneu_fr.html","CT","fullscreen=no,directories=no,location=no,menubar=no,left=0,top=0,scrollbars=no,status=no,toolbar=no");
}else if(is_ie&&is_mac){
indexz=window.open("http://www.gemstone.de/gemstones/wcwneu_fr.html","CT","scrollbars=0,left=0,top=0,width="+sw+",height="+sh+",directories=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0");
}else if(is_nav){
if(is_pc) sw-=0;
indexz=window.open("http://www.gemstone.de/gemstones/wcwneu_fr.html","CT","left=-5,top=0,screenX=-5,screenY=0,width="+sw+",height="+sh+",directories=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0");
}
indexz.focus();
}

function openFullHome(){
if(is_ie&&is_pc){
indexz=window.open("http://www.gemstone.de/home/index-home.html","CT","fullscreen=no,directories=no,location=no,menubar=no,left=0,top=0,scrollbars=no,status=no,toolbar=no");
}else if(is_ie&&is_mac){
indexz=window.open("http://www.gemstone.de/home/index-home.html","CT","scrollbars=0,left=0,top=0,width="+sw+",height="+sh+",directories=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0");
}else if(is_nav){
if(is_pc) sw-=0;
indexz=window.open("http://www.gemstone.de/home/index-home.html","CT","left=-5,top=0,screenX=-5,screenY=0,width="+sw+",height="+sh+",directories=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0");
}
indexz.focus();
}


//-->

