// JScript source code für ulmato

//Menü script

if (navigator.appVersion.indexOf("2.") != -1){
check = false;
}
if ((navigator.appVersion.indexOf("3.") != -1) && (navigator.appName.indexOf("Explorer") != -1)){
check = false;
}
else {
check = true;
}
if (check == true){
image1 = new Image();
image1.src = "shared/image/1x1transparent.gif";
image1on = new Image();
image1on.src = "shared/image/UlmatoRechtecke07.gif";
image1stay = new Image();
image1stay.src = "shared/image/UlmatoRechtecke08.gif";


image2 = new Image();
image2.src = "shared/image/1x1transparent.gif";
image2on = new Image();
image2on.src = "shared/image/UlmatoRechtecke07.gif";
image2stay = new Image();
image2stay.src = "shared/image/UlmatoRechtecke08.gif";


image3 = new Image();
image3.src = "shared/image/1x1transparent.gif";
image3on = new Image();
image3on.src = "shared/image/UlmatoRechtecke07.gif";
image3stay = new Image();
image3stay.src = "shared/image/UlmatoRechtecke08.gif";


image4 = new Image();
image4.src = "shared/image/1x1transparent.gif";
image4on = new Image();
image4on.src = "shared/image/UlmatoRechtecke07.gif";
image4stay = new Image();
image4stay.src = "shared/image/UlmatoRechtecke08.gif";


image5 = new Image();
image5.src = "shared/image/1x1transparent.gif";
image5on = new Image();
image5on.src = "shared/image/UlmatoRechtecke07.gif";
image5stay = new Image();
image5stay.src = "shared/image/UlmatoRechtecke08.gif";


image6 = new Image();
image6.src = "shared/image/1x1transparent.gif";
image6on = new Image();
image6on.src = "shared/image/UlmatoRechtecke07.gif";
image6stay = new Image();
image6stay.src = "shared/image/UlmatoRechtecke08.gif";


image7 = new Image();
image7.src = "shared/image/1x1transparent.gif";
image7on = new Image();
image7on.src = "shared/image/UlmatoRechtecke07.gif";
image7stay = new Image();
image7stay.src = "shared/image/UlmatoRechtecke08.gif";


image8 = new Image();
image8.src = "shared/image/1x1transparent.gif";
image8on = new Image();
image8on.src = "shared/image/UlmatoRechtecke07.gif";
image8stay = new Image();
image8stay.src = "shared/image/UlmatoRechtecke08.gif";

}



imageStay = ""

function imageon(name){
if (imageStay != name){
document[name].src = eval(name + "on.src");
}
}


function imageoff(name){
if (imageStay != name){
document[name].src = eval(name + ".src");
}
}

function on(name){
if (check == true){
imageon(name);
}
}
function off(name){
if (check == true){
imageoff(name);
}
}

function stay(name){
if (check == true){
document[name].src = eval(name + "stay.src");
if (imageStay != name){
if (imageStay != ""){
document[imageStay].src = eval(imageStay + ".src");
}
}
imageStay = name
}
}
// Menü script ende


function datum(){
document.write("<b><span class='text'>")
var mydate=new Date()
var year=mydate.getYear()
if (year<2000)
year += (year < 1900) ? 1900 : 0
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag")
var montharray=new Array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember")
document.write("<center><font color='#FFD3A5'>Heute ist "+dayarray[day]+", der "+daym+". "+montharray[month]+" "+year+"</font></center>")
document.write("</b></i></span></b>")
}









//Startseite

//Frameset scrip zum rooten auf den Hauptframe
function Frameset() {
	if (top.frames.length==0) {
	Address="bewerbung.htm";
	if(document.images) top.location.replace(Address);
	else top.location.href=Address;
	}
	}
	
//Element script für die kleinen Fenster	
function show(pic,h,w)    
    {
    document.getElementById(pic).style.display = "block";
    document.getElementById(pic).style.height = h+"px";
    document.getElementById(pic).style.width = w+"px";
                        }
                                                                                             
function kill(pic)  
    {
    document.getElementById(pic).style.display = "none";
    } 


//Popupfenster Script für Beispiele
function diplom_gif() {
	F = window.open("beispiele/scan_beispiel_diplom.htm","Popup","width=720,height=750,scrollbars=yes");
}

function diplom_jpg() {
	F = window.open("beispiele/scan_beispiel_diplom_jpg.htm","Popup","width=720,height=750,scrollbars=yes");
}

function fh_gif() {
	F = window.open("beispiele/scan_beispiel_fh.htm","Popup","width=720,height=750,scrollbars=yes");
}

function fh_jpg() {
	F = window.open("beispiele/scan_beispiel_fh_jpg.htm","Popup","width=720,height=750,scrollbars=yes");
}

function fh2_gif() {
	F = window.open("beispiele/scan_beispiel_fh2.htm","Popup","width=720,height=750,scrollbars=yes");
}

function fh2_jpg() {
	F = window.open("beispiele/scan_beispiel_fh2_jpg.htm","Popup","width=720,height=750,scrollbars=yes");
}

function urlaub_1_gif() {
	F = window.open("beispiele/urlaub_1.htm","Popup","width=700,height=750,scrollbars=no");
}

function urlaub_1_jpg() {
	F = window.open("beispiele/urlaub_1_jpg.htm","Popup","width=700,height=750,scrollbars=no");
}

function urlaub_2_gif() {
	F = window.open("beispiele/urlaub_2.htm","Popup","width=700,height=750,scrollbars=no");
}

function urlaub_2_jpg() {
	F = window.open("beispiele/urlaub_2_jpg.htm","Popup","width=700,height=750,scrollbars=no");
}

function urlaub_3_gif() {
	F = window.open("beispiele/urlaub_3.htm","Popup","width=700,height=750,scrollbars=no");
}

function urlaub_3_jpg() {
	F = window.open("beispiele/urlaub_3_jpg.htm","Popup","width=700,height=750,scrollbars=no");
}

function bewerbungsfoto_1_gif() {
	F = window.open("beispiele/bewerbungsfoto_1.htm","Popup","width=700,height=750,scrollbars=no");
}

function bewerbungsfoto_1_jpg() {
	F = window.open("beispiele/bewerbungsfoto_1_jpg.htm","Popup","width=700,height=750,scrollbars=no");
}

function bewerbungsfoto_2_gif() {
	F = window.open("beispiele/bewerbungsfoto_2.htm","Popup","width=700,height=750,scrollbars=no");
}

function bewerbungsfoto_2_jpg() {
	F = window.open("beispiele/bewerbungsfoto_2_jpg.htm","Popup","width=700,height=750,scrollbars=no");
}

function bewerbungsfoto_3_gif() {
	F = window.open("beispiele/bewerbungsfoto_3.htm","Popup","width=700,height=750,scrollbars=no");
}

function bewerbungsfoto_3_jpg() {
	F = window.open("beispiele/bewerbungsfoto_3_jpg.htm","Popup","width=700,height=750,scrollbars=no");
}

//Google



google_ad_client = "pub-6330359359390560";
//468x60, scanservice
google_ad_slot = "3445086010";
google_ad_width = 468;
google_ad_height = 60;



//demos

function PopupFensterTest() {
		F = window.open("../testinfo.htm","Popup","width=550,height=550,scrollbars=yes");}
	
	function PopupFensterLight() {
		F = window.open("../anz_links_format_light1.htm","Popup","width=550,height=550,scrollbars=yes");}
	
	function PopupFensterL() {
		F = window.open("../anz_links_format_l1.htm","Popup","width=550,height=550,scrollbars=yes");}
	
	function PopupFensterXL() {
		F = window.open("../anz_links_format_xl1.htm","Popup","width=550,height=550,scrollbars=yes");}
	
	function PopupFensterXXL() {
		F = window.open("../anz_links_format_xxl1.htm","Popup","width=550,height=550,scrollbars=yes");}
	
	function Demo() {
		F = window.open("../produktauswahl.html","Popup","width=800,height=685,scrollbars=no");}
	
	function DemoAuswahl() {
		F = window.open("../myulmatoauswahl.html","Popup","width=550,height=400,scrollbars=no");}
	
	function feedback() {
		F = window.open("../feedback/feedback.asp","Popup","width=350,height=200,scrollbars=no");}