var left_step = 1; var down_step = 2; var down_step_multi = 8; var run_left = false; var run_right = false; var active_left = '1'; var active_right = '1'; var count_frame = 1; var front_top_frame = 140; var dist_top_frame = 0; var dist_left_frame = 0; var first_top_frame = 140; var first_left_frame = 0; var width_frame = 190; var width_screnn_view = 1142; var active_Angebote_No = '0'; var active_Klima_No = '0'; if( top != self ) { if( window.opera ) window.onload=opera_befreien; else top.location = self.location; } function opera_befreien() { document.links[ 'befreien' ].click(); } function $( ID ) { return document.getElementById( ID ); } function show_Datenschutz_Reise_Frame( obj ) { var split_array = obj.id.split('_'); if( split_array[ split_array.length - 2 ] == 'left' && active_left != split_array[ split_array.length - 1 ] ) { document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 4 ] + '_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + active_left ).style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-red-label.jpg)'; document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 4 ] + '_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + active_left ).style.backgroundColor = 'rgb( 255, 0, 0 )'; document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 4 ] + '_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + active_left ).style.color = 'rgb( 255,255,255 )'; active_left = split_array[ split_array.length - 1 ]; } if( split_array[ split_array.length - 2 ] == 'right' && active_right != split_array[ split_array.length - 1 ] ) { document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 4 ] + '_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + active_right ).style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-red-label.jpg)'; document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 4 ] + '_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + active_right ).style.backgroundColor = 'rgb( 255, 0, 0 )'; document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 4 ] + '_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + active_right ).style.color = 'rgb( 255,255,255 )'; active_right = split_array[ split_array.length - 1 ]; } var left = document.getElementById( 'Urlaub_Datenschutz_Reisen_' + split_array[ split_array.length - 3 ] + '_' + split_array[ split_array.length - 2 ] + '_' + split_array[ split_array.length - 1 ] ).style.left; if( !run_left && parseInt( left ) > 0 && parseInt( left ) < 500 ) { run_left = true; step_show_Reise_Frame_left( parseInt( left ) ); } if( !run_right && parseInt( left ) > 500 && parseInt( left ) < width_screnn_view - width_frame ) { run_right = true; step_show_Reise_Frame_right( parseInt( left ) ); } } function step_show_Reise_Frame_right( left ) { left = left + 1; for( i = 1; i <= count_frame; i++ ) { Top_frame = parseInt( document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_right_' + i ).style.top ); Left_frame = parseInt( document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_right_' + i ).style.left ); if( Left_frame < width_screnn_view - width_frame ) { Left_frame = Left_frame + left_step; Top_frame = Top_frame + down_step; } else { Left_frame = width_screnn_view - width_frame; Top_frame = Top_frame + ( down_step * down_step_multi ); if( Top_frame == ( ( down_step * down_step_multi * dist_left_frame ) + front_top_frame ) ) { Top_frame = first_top_frame; Left_frame = width_screnn_view - width_frame - first_left_frame; } } document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_right_' + i ).style.zIndex = ( first_left_frame - ( width_screnn_view - Left_frame - width_frame ) + 5 ); document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_right_' + i ).style.top = Top_frame; document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_right_' + i ).style.left = Left_frame; } if( left < width_screnn_view - width_frame ) { window.setTimeout( 'step_show_Reise_Frame_right( ' + left + ' )', 10 ); } else run_right = false; } function step_show_Reise_Frame_left( left ) { left = left - 1; for( i = 1; i <= count_frame; i++ ) { Top_frame = parseInt( document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_left_' + i ).style.top ); Left_frame = parseInt( document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_left_' + i ).style.left ); if( Left_frame > 0 ) { Left_frame = Left_frame - left_step; Top_frame = Top_frame + down_step; } else { Left_frame = 0; Top_frame = Top_frame + ( down_step * down_step_multi ); if( Top_frame == ( ( down_step * down_step_multi * dist_left_frame ) + front_top_frame ) ) { Top_frame = first_top_frame; Left_frame = first_left_frame; } } document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_left_' + i ).style.zIndex = ( first_left_frame - Left_frame + 5 ); document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_left_' + i ).style.top = Top_frame; document.getElementById( 'Urlaub_Datenschutz_Reisen_frame_left_' + i ).style.left = Left_frame; } if( left > 0 ) { window.setTimeout( 'step_show_Reise_Frame_left( ' + left + ' )', 10 ); } else run_left = false; } function over_Datenschutz_Reise_Frame( obj ) { var split_array = obj.id.split( '_' ); if( split_array[ split_array.length - 2 ] == 'left' && active_left == split_array[ split_array.length - 1 ] || split_array[ split_array.length - 2 ] == 'right' && active_right == split_array[ split_array.length - 1 ] ) {;} else { document.getElementById( obj.id ).style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-orange-label.png)'; document.getElementById( obj.id ).style.backgroundColor = 'rgb( 254, 188, 72 )'; document.getElementById( obj.id ).style.color = 'rgb( 153, 0, 0 )'; } } function out_Datenschutz_Reise_Frame( obj ) { var split_array = obj.id.split( '_' ); if( split_array[ split_array.length - 2 ] == 'left' && active_left == split_array[ split_array.length - 1 ] || split_array[ split_array.length - 2 ] == 'right' && active_right == split_array[ split_array.length - 1 ] ) {;} else { document.getElementById( obj.id ).style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-red-label.jpg)'; document.getElementById( obj.id ).style.backgroundColor = 'rgb( 255, 0, 0 )'; document.getElementById( obj.id ).style.color = 'rgb( 255,255,255 )'; } } function over_Asienreisen_toolbar_tab( No ) { document.getElementById( 'Reisen_Asien_Urlaub_tab_back_' + No ).style.backgroundColor = 'rgb( 254, 188, 72 )'; document.getElementById( 'Reisen_Asien_Urlaub_tab_back_' + No ).style.backgroundImage = 'url(/reisen-urlaub/reise-toolbar/active_center.png)'; document.getElementById( 'Reisen_Asien_Urlaub_tab_left_' + No ).style.backgroundImage = 'url(/reisen-urlaub/reise-toolbar/active_left.png)'; document.getElementById( 'Reisen_Asien_Urlaub_tab_righ_' + No ).style.backgroundImage = 'url(/reisen-urlaub/reise-toolbar/active_right.png)'; document.getElementById( 'Reisen_Asien_Urlaub_tab_cent_' + No ).style.color = 'rgb( 153, 0, 0 )'; document.getElementById( 'Reisen_Asien_Urlaub_tab_link_' + No ).style.color = 'rgb( 153, 0, 0 )'; document.getElementById( 'Reisen_Asien_Urlaub_tab_back_' + No ).style.cursor = 'pointer'; } function out_Asienreisen_toolbar_tab( No ) { document.getElementById( 'Reisen_Asien_Urlaub_tab_back_' + No ).style.backgroundColor = 'rgb( 255, 0, 0 )'; document.getElementById( 'Reisen_Asien_Urlaub_tab_back_' + No ).style.backgroundImage = 'url(/reisen-urlaub/reise-toolbar/passive_center.png)'; document.getElementById( 'Reisen_Asien_Urlaub_tab_left_' + No ).style.backgroundImage = 'url(/reisen-urlaub/reise-toolbar/passive_left.png)'; document.getElementById( 'Reisen_Asien_Urlaub_tab_righ_' + No ).style.backgroundImage = 'url(/reisen-urlaub/reise-toolbar/passive_right.png)'; document.getElementById( 'Reisen_Asien_Urlaub_tab_cent_' + No ).style.color = 'rgb( 255,255,255 )'; document.getElementById( 'Reisen_Asien_Urlaub_tab_link_' + No ).style.color = 'rgb( 255,255,255 )'; document.getElementById( 'Reisen_Asien_Urlaub_tab_back_' + No ).style.cursor = 'default'; } function over_Reisen_Urlaub_Menu_Region( obj ) { obj.style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-orange-tab.png)'; obj.getElementsByTagName('a')[ 0 ].style.color = 'rgb( 153, 0, 0 )'; obj.style.color = 'rgb( 153, 0, 0 )'; } function out_Reisen_Urlaub_Menu_Region( obj ) { obj.style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-grey-tab.png)'; obj.getElementsByTagName('a')[ 0 ].style.color = 'rgb( 132, 132, 132 )'; obj.style.color = 'rgb( 132, 132, 132 )'; } function over_Reisen_Urlaub_Menu_Main( obj ) { obj.style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-orange-tab.png)'; obj.getElementsByTagName('a')[ 0 ].style.color = 'rgb( 153, 0, 0 )'; obj.style.color = 'rgb( 153, 0, 0 )'; } function out_Reisen_Urlaub_Menu_Main( obj ) { obj.style.backgroundImage = 'url(/reisen-urlaub/reise-img/BG-greydark-tab.png)'; obj.getElementsByTagName('a')[ 0 ].style.color = 'rgb( 100, 100, 100 )'; obj.style.color = 'rgb( 100, 100, 100 )'; } function show_Datenschutz_image( obj ) { get_Datenschutz_image( obj.src ); PageSize = getPageSize(); document.getElementById( 'show_Datenschutz_image' ).style.top = ( getPageYpos() + 60 ); set_opacity( document.getElementById( 'show_Datenschutz_overlay_BG_image' ), 85 ); document.getElementById( 'show_Datenschutz_overlay_BG_image' ).style.height = PageSize.h + 150; document.getElementById( 'show_Datenschutz_overlay_BG_image' ).style.display = 'block'; document.getElementById( 'show_Datenschutz_image' ).style.display = 'block'; } function hide_Datenschutz_image() { document.getElementById( 'show_Datenschutz_image' ).style.display = 'none'; document.getElementById( 'show_Datenschutz_overlay_BG_image' ).style.display = 'none'; document.getElementById( 'show_Datenschutz_overlay_BG_image' ).style.height = '0'; document.getElementById( 'show_Datenschutz_image' ).style.top = '0'; document.getElementById( 'show_Datenschutz_image' ).innerHTML = ''; } function get_Datenschutz_image( img_path ) { new Ajax.Request( '/reisen-urlaub/Asienreisen_image.php?img_path=' + img_path + '&title=Datenschutz&update_srting=' + new Date().getTime(), { method: 'get', onComplete: show_Datenschutz_image_big } ); } function show_Datenschutz_image_big( originalRequest ) { $( 'show_Datenschutz_image' ).innerHTML = originalRequest.responseText; } function getPageYpos() { return ( window.pageYOffset != null ) ? window.pageYOffset : window.document.body.scrollTop; } function getPageSize() { var xS, yS; if( window.innerHeight && window.scrollMaxY ) { yS = window.innerHeight + window.scrollMaxY; xS = document.body.scrollWidth; } else if( document.body.scrollHeight > document.body.offsetHeight ) { yS = document.body.scrollHeight; xS = document.body.scrollWidth; } else { yS = document.body.offsetHeight; xS = document.body.offsetWidth; } var wH, wW; if( self.innerHeight ) { wH = self.innerHeight; wW = self.innerWidth; } else if( document.documentElement && document.documentElement.clientHeight ) { wH = document.documentElement.clientHeight; wW = document.documentElement.clientWidth; } else if( document.body ) { wH = document.body.clientHeight; wW = document.body.clientWidth; } if( yS < wH ) pH = wH; else pH = yS; if( xS < wW ) pW = wW; else pW = xS; var pos = { w:0, h:0 }; pos.h = pH; pos.w = pW; PageSize = new Array( pW, pH ) return pos; } function set_opacity( obj, opacity ) { opacity = ( opacity == 100 ) ? 99.999 : opacity; obj.style.filter = 'alpha( opacity :' + opacity + ' )'; obj.style.KHTMLOpacity = opacity / 100; obj.style.MozOpacity = opacity / 100; obj.style.opacity = opacity / 100; } function cookieWarn() { if( isCookiesEnabled() ) { if( getCookie( 'cookieWarn' ) == 'cookieWarn' ) { // verlängere die Gültigkeit des "cookieWarn" wieder auf die volle CookieVerfallszeit, da die Verwendung von Cookies innerhalb der CookieVerfallszeit zur Kenntnis genommen wurde setCookieWarn(); } else { // Zeige das "cookieWarn"-DIV var DatenschutzAnker = '/admin/impressum.html#Datenschutzbestimmungen'; document.getElementsByTagName( 'body' )[ 0 ].appendChild( document.createElement( 'div' ) ); document.getElementsByTagName( 'body' )[ 0 ].lastChild.setAttribute( 'id', 'cookieWarn' ); $( 'cookieWarn' ).style.position = 'fixed'; $( 'cookieWarn' ).style.bottom = '0px'; $( 'cookieWarn' ).style.left = '0px'; $( 'cookieWarn' ).style.border = '1px solid rgb( 229, 229, 229 )'; $( 'cookieWarn' ).style.backgroundColor = 'rgb( 241, 241, 241 )'; $( 'cookieWarn' ).style.color = 'rgb( 121, 121, 121 )'; $( 'cookieWarn' ).style.padding = '14px 2% 14px'; $( 'cookieWarn' ).style.fontSize = '14px'; $( 'cookieWarn' ).style.width = '96%'; $( 'cookieWarn' ).style.height = 'auto'; $( 'cookieWarn' ).style.display = 'block'; $( 'cookieWarn' ).style.zIndex = '1000000', $( 'cookieWarn' ).innerHTML = 'Cookies helfen dabei, diverse Inhalte für Sie optimiert bereitzustellen. Durch die Nutzung dieser Webseite erklären Sie sich damit einverstanden, dass Cookies gesetzt werden.Mehr erfahren
ok
'; } } } function cookie_DS( willDS ) { if( navigator.cookieEnabled ) { if( willDS ) { refreshCookieDS(); } else { load_DS_overlay(); } } else { load_noCookie_overlay(); } } function load_noCookie_overlay() { var fontSizeDS = prepare_DS_Overlay( 'rgba(255,0,0,.6)' ); new Ajax.Request( '/datenschutz/getDSoverlay.php?fontSizeDS=' + fontSizeDS + '&noCookie=true&update_string=' + new Date().getTime(), { method: 'get', onComplete: Load_noCookie_Overlay } ); } function Load_noCookie_Overlay( originalRequest ) { var res=originalRequest.responseText.split('splitPoint'); document.getElementById('DS_overlay').innerHTML=res[0]; } function load_DS_overlay() { var fontSizeDS = prepare_DS_Overlay( 'rgba(0,0,0,.5)' ); new Ajax.Request( '/datenschutz/getDSoverlay.php?fontSizeDS=' + fontSizeDS + '&update_string=' + new Date().getTime(), { method: 'get', onComplete: Load_DS_Overlay } ); } function prepare_DS_Overlay( bgColor ) { if(typeof originalRequest==='undefined'){window.originalRequest=null;try{originalRequest=new XMLHttpRequest();}catch(e){try{originalRequest=new ActiveXObject('Microsoft.XMLHTTP');}catch(e){try{originalRequest=new ActiveXObject('Msxml2.XMLHTTP');}catch(e){originalRequest=null;}}}} if(typeof Ajax==='undefined'){window.Ajax={};} if(typeof Ajax.Request!=='function'){Ajax.Request=function(Request_File,method_onComplete){if(originalRequest){originalRequest.open(method_onComplete.method,Request_File+'&update_string='+new Date().getTime(),true);originalRequest.onreadystatechange=function(){if(originalRequest.readyState==4){if(typeof method_onComplete.onComplete=='function'){method_onComplete.onComplete(originalRequest);}}};}originalRequest.send(null);};} document.getElementsByTagName( 'body' )[ 0 ].appendChild( document.createElement( 'div' ) ); document.getElementsByTagName( 'body' )[ 0 ].lastChild.setAttribute( 'id', 'DS_overlay' ); var fontSizeDS = '1'; $( 'DS_overlay' ).style.fontSize = fontSizeDS + 'rem'; $( 'DS_overlay' ).style.position = 'fixed'; $( 'DS_overlay' ).style.top = '0'; $( 'DS_overlay' ).style.left = '0'; $( 'DS_overlay' ).style.width = '100%'; $( 'DS_overlay' ).style.height = '100%'; $( 'DS_overlay' ).style.backgroundColor = bgColor; $( 'DS_overlay' ).style.zIndex = '1111111'; return fontSizeDS; } function Load_DS_Overlay( originalRequest ) { var res=originalRequest.responseText.split('splitPoint'); document.getElementById('DS_overlay').innerHTML = res[ 2 ]; document.getElementsByTagName( 'head' )[ 0 ].appendChild( document.createElement( 'script' ) ); document.getElementsByTagName( 'head' )[ 0 ].lastChild.setAttribute( 'type', 'text/javascript' ); document.getElementsByTagName( 'head' )[ 0 ].lastChild.innerHTML = res[ 1 ]; } function setCookieDS( dataStatus, timeStamp ) { delCookieDS(); var now = new Date(); var CookieVerfallszeit = 1000 * 60 * 60 * 24 * 365; var Auszeit = new Date( now.getTime() + CookieVerfallszeit ); document.cookie = "cookieDS=cookieDS; path=/; expires=" + Auszeit.toGMTString() + "; samesite=lax"; document.cookie = "cookieDStimeStamp=" + timeStamp + "; path=/; expires=" + Auszeit.toGMTString() + "; samesite=lax"; document.cookie = "cookieDSdataStatus=" + dataStatus + "; path=/; expires=" + Auszeit.toGMTString() + "; samesite=lax"; } function refreshCookieDS() { var dataStatus = getCookie( 'cookieDSdataStatus' ) var timeStamp = getCookie( 'cookieDStimeStamp' ) delCookieDS(); var now = new Date(); var CookieVerfallszeit = 1000 * 60 * 60 * 24 * 365; var Auszeit = new Date( now.getTime() + CookieVerfallszeit ); document.cookie = "cookieDS=cookieDS; path=/; expires=" + Auszeit.toGMTString() + "; samesite=lax"; document.cookie = "cookieDStimeStamp=" + timeStamp + "; path=/; expires=" + Auszeit.toGMTString() + "; samesite=lax"; document.cookie = "cookieDSdataStatus=" + dataStatus + "; path=/; expires=" + Auszeit.toGMTString() + "; samesite=lax"; } function delCookieDS() { document.cookie = "cookieDS=; path=/; expires=Thu, 01 Jan 1970 00:00:00 UTC; samesite=lax"; document.cookie = "cookieDSdataStatus=; path=/; expires=Thu, 01 Jan 1970 00:00:00 UTC; samesite=lax"; document.cookie = "cookieDStimeStamp=; path=/; expires=Thu, 01 Jan 1970 00:00:00 UTC; samesite=lax"; } function getCookie( cname ) { var name = cname + '='; var ca = document.cookie.split(';'); for( var i=0; i < ca.length; i++ ) { var c = ca[ i ]; while( c.charAt( 0 ) == ' ' ) c = c.substring( 1 ); if( c.indexOf( name ) == 0 ) return c.substring( name.length, c.length ); } return ''; }