function Start(URL, WIDTH, HEIGHT) { windowprops = "left=50,top=50,width=" + (WIDTH+12) + ",height=" + (HEIGHT+12); text = "Preview -1) { var imgdir= './images/' } else { var imgdir= './images/' } text += ">
"; text += "

preview images are reduced in quality and size

"; preview = window.open("", "preview", windowprops); preview.document.open(); preview.document.write(text); preview.document.close(); preview.focus(); } function Redi() { if (navigator.appName == 'Netscape') var language = navigator.language; else var language = navigator.browserLanguage; if (language.indexOf('de') > -1) { window.location="http://www.3rd-art.com/404.html" return } } function inset(elmnt) { elmnt.style.border="inset 2" elmnt.style.background="#444444" } function outset(elmnt) { elmnt.style.border="outset 2" elmnt.style.background="#333333" } function Pom(issue,text) {pom.src="./images/3darlings"+ issue +".jpg" footer.innerHTML=text } function Navi() { if (navigator.appName == 'Netscape') var language = navigator.language; else var language = navigator.browserLanguage; Welc="Home" Gall="Gallery" Pics="Comics" Anim="Movies" Poms="Pic of the Month" Staf="Characters" Memb="JOIN!" Logi="Members" Priv="Privacy Policy" Impr="About" Link="Links" if (language.indexOf('de') > -1) { navi.innerHTML=""+Welc+Gall+Pics+Anim+Poms+Staf+Memb+Logi+Link+""+Impr+"
" } else { navi.innerHTML=""+Welc+Gall+Pics+Anim+Poms+Staf+Memb+Logi+Link+Priv+"
" } } //======================================== // Cookiestuff //======================================== function getCookie(NameOfCookie) { if (document.cookie.length > 0) { begin = document.cookie.indexOf(NameOfCookie+"="); if (begin != -1) { begin += NameOfCookie.length+1; end = document.cookie.indexOf(";", begin); if (end == -1) end = document.cookie.length; return unescape(document.cookie.substring(begin, end)); } } return null; } function setCookie(NameOfCookie, value, expirehours) { var ExpireDate = new Date (); ExpireDate.setTime(ExpireDate.getTime() + (expirehours * 3600 * 1000)); document.cookie = NameOfCookie + "=" + escape(value) + ((expirehours == null) ? "" : "; expires=" + ExpireDate.toGMTString()) + "; path=/; domain=3rd-art.com"; } function delCookie (NameOfCookie) { if (getCookie(NameOfCookie)) { document.cookie = NameOfCookie + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } function checkCookie(NameOfCookie,expirehours) { Cookieval=getCookie(NameOfCookie); switch (Cookieval) { case "de": setCookie(NameOfCookie,Cookieval,expirehours) break case "ok": setCookie(NameOfCookie,Cookieval,expirehours+8760) break default: window.location="http://www.3rd-art.com" }}