<!--
var activex=((navigator.userAgent.indexOf('Win')!=-1)&&(navigator.userAgent.indexOf('MSIE')!=-1)&&(parseInt(navigator.appVersion)>=4));var CantDetect=((navigator.userAgent.indexOf('Safari')!=-1)||(navigator.userAgent.indexOf('Opera')!=-1));function oopsPopup(){var windowName="oops";var URLtoOpen="http://www.adriatyk.com.pl/php_adriatyk/js/skype_baner/popup_de.htm";var popW=540,popH=305;var scrollB='no';w=screen.availWidth;h=screen.availHeight;var leftPos=(w-popW)/2,topPos=(h-popH)/2;oopswindow=window.open(URLtoOpen,windowName,'width='+popW+',height='+popH+',scrollbars='+scrollB+',screenx='+leftPos+',screeny='+topPos+',top='+topPos+',left='+leftPos);}
if(typeof(detected)=="undefined"&&activex){document.write('<script language="VBscript">\n'+'Function isSkypeInstalled()\n'+'on error resume next\n'+'Set oSkype = CreateObject("Skype.Detection")\n'+'isSkypeInstalled = IsObject(oSkype)\n'+'Set oSkype = nothing\n'+'End Function\n'+'</script>');}
function skypeCheck(){if(CantDetect){return true;}else if(!activex){var skypeMime=navigator.mimeTypes["application/x-skype"];detected=true;if(typeof(skypeMime)=="object"){window.location='skype:superurlaub?call';return true;}else{return oopsPopup();}}else{if(isSkypeInstalled()){detected=true;window.location='skype:superurlaub?call';return true;}}
detected=true;return oopsPopup();}
-->
