$(document).ready(function(){ $("#Qickfinder").mouseover(function(){ $("#LayerQuickfinder").css('display','block'); }); $("#Qickfinder").mouseout(function(){ $("#LayerQuickfinder").css('display','none'); }); $(".lbOn").click( function() { var PageSize = getPageSize(); $("select").css("visibility","hidden"); $("#overlay").css("display","block"); $("#overlay").animate({ height: PageSize[1] }, "slow" ); }) $(".printview").click( function() { var VarmainContentContentColumn = '
'; VarmainContentContentColumn += ''; VarmainContentContentColumn += $("#mainContentContentColumn").html(); VarmainContentContentColumn += '
'; if ($("#lightboxContent").html(VarmainContentContentColumn)) { window.setTimeout('$("#lightbox").slideDown("Slow", function () { window.print(); var PageSize = getPageSize(); $("#overlay").animate({ height: PageSize[1] }, "slow" ); });',500); } }) $(".printviewkarte").click( function() { var VarmainContentContentColumn = '
'; VarmainContentContentColumn += ''; VarmainContentContentColumn += ''; VarmainContentContentColumn += '
'; VarmainContentContentColumn += $("#headline").html(); VarmainContentContentColumn += '
'; VarmainContentContentColumn += '
'; VarmainContentContentColumn += $("#LaenderDetail").html(); VarmainContentContentColumn += '
'; VarmainContentContentColumn += '
'; if ($("#lightboxContent").html(VarmainContentContentColumn)) { window.setTimeout('$("#lightbox").slideDown("Slow", function () { window.print(); var PageSize = getPageSize(); $("#overlay").animate({ height: PageSize[1] }, "slow" ); });',500); } }) $(".saveview").click( function() { var VarmainContentContentColumn = '
'; VarmainContentContentColumn += ''; VarmainContentContentColumn += $("#mainContentContentColumn").html(); VarmainContentContentColumn += '
'; if ($("#lightboxContent").html(VarmainContentContentColumn)) { window.setTimeout('$("#lightbox").slideDown("Slow", function () { window.print(); var PageSize = getPageSize(); $("#overlay").animate({ height: PageSize[1] }, "slow" ); });',500); } }) $(".lbOff").click( function() { $("#lightbox").slideUp("Slow", function () { $("#lightboxContent").html(''); $("#lightbox").css("display","none"); $("#lightboxPlayer").css("display","none"); $("#lightboxPlayerContent").html(''); $("#overlay").animate({ height: 0 }, "slow" ); $("#overlay").css("display","none"); $("select").css("visibility","visible"); }); }) $("#overlay").click( function() { $("#lightbox").slideUp("Slow", function () { $("#lightboxContent").html(''); $("#lightbox").css("display","none"); $("#lightboxPlayer").css("display","none"); $("#lightboxPlayerContent").html(''); $("#overlay").animate({ height: 0 }, "slow" ); $("#overlay").css("display","none"); $("select").css("visibility","visible"); }); }) $(".listboxheader").click(function(){ $(this).parent().addClass("dotheslide"); if ($(".dotheslide > .listboxcontent").css("display") == "none") { $(".dotheslide > .listboxheader > .listboxheadertext").addClass("listboxheadertextactive"); $(".dotheslide > .listboxcontent").slideDown(); $(".dotheslide").removeClass("dotheslide"); } else { $(".dotheslide > .listboxheader > .listboxheadertext").removeClass("listboxheadertextactive"); $(".dotheslide > .listboxcontent").slideUp(); $(".dotheslide").removeClass("dotheslide"); } }); /* auskommentiert und ersetzt durch mailto Funktion $(".listboxkommentar").click( function() { $.get("/lightbox/feedback.html",function(txt) { if ($("#lightboxContent").html(txt)) { window.setTimeout('$("#lightbox").slideDown("Slow");',500); } }) });*/ $(".listboxweiterempfehlen").click( function() { $.get("/cms/kontaktanfragen.nsf/WeiterempfehlenFormAjax?ReadForm&lang=de",function(txt) { if ($("#lightboxContent").html(txt)) { window.setTimeout('$("#lightbox").slideDown("Slow");',500); } }) }); $(".listboxweiterempfehlen_en").click( function() { $.get("/cms/kontaktanfragen.nsf/WeiterempfehlenFormAjax?ReadForm&lang=en",function(txt) { if ($("#lightboxContent").html(txt)) { window.setTimeout('$("#lightbox").slideDown("Slow");',500); } }) }); $(".listboxweiterempfehlen_de").click( function() { $.get("/cms/kontaktanfragen.nsf/WeiterempfehlenFormAjax?ReadForm&lang=de",function(txt) { if ($("#lightboxContent").html(txt)) { window.setTimeout('$("#lightbox").slideDown("Slow");',500); } }) }); $(".listboxdirektlink").click( function() { if ($("#lightboxContent").html($("#direktlinkDiv").html())) { $("#lightbox input[name=url]").attr("value",document.URL); window.setTimeout('$("#lightbox").slideDown("Slow");',500); window.setTimeout('$("#lightbox input[name=url]").focus(); $("#lightbox input[name=url]").select();',1500); } }); $("#openall").click(function(){ $(".listboxheadertext").addClass("listboxheadertextactive"); $(".listboxcontent").slideDown("slow"); }); $("#closeall").click(function(){ $(".listboxheadertext").removeClass("listboxheadertextactive"); $(".listboxcontent").slideUp("slow"); }); $(".LinkFLVPreview").mouseover( function () { $(this).addClass("HighlightFLV"); $(".HighlightFLV > .btn_film_starten").attr("src","images/buttons/button_film_starten_over.png"); $(".HighlightFLV").removeClass("HighlightFLV"); }) $(".LinkFLVPreview").mouseout( function () { $(this).addClass("HighlightFLV"); $(".HighlightFLV > .btn_film_starten").attr("src","images/buttons/button_film_starten.png"); $(".HighlightFLV").removeClass("HighlightFLV"); }) $(".LinkFLVPlay").click( function () { var mediaPreview = $(this).attr("mediaPreview"); var mediaFile = $(this).attr("mediaFile"); var autoplay = $(this).attr("autoplay"); $("#lightboxPlayer").css("display","block"); playVideo(mediaPreview,mediaFile,autoplay); }) /* Erweiterung a4s */ $('.SearchField').focus(function(){ value = $('.SearchField').val(); if (value == 'Search' || value == 'Suche') { this.select(); } }); })