Event.observe(window, "load", function(){window.name = 'awkmedia';set_li_href("mainmenu");})
function set_li_href(holder, tag) {holder = $(holder);if (!holder) {return;}
tag = tag || "li";var lis = holder.getElementsByTagName(tag);for (var i = 0; i < lis.length; i ++) {if ("A" == lis[i].firstChild.nodeName
&& (lis[i].firstChild.nextSibling == null || lis[i].firstChild.nextSibling.nextSibling == null)) {Event.observe(lis[i], "click", function(e){Event.stop(e);el = Event.element(e);if ("A" != el.nodeName) {el = el.firstChild;}
if ("window" == el.className) {window.open(el.href, "window", "width=450,height=600,scrollbars=yes");} else {window.location.href = el.href;}
});}
}
}
function goback(){history.back(-1);}
function findeFlash (flash) {if (document.all) {if (document.all[flash]) {return document.all[flash];}
if (window.opera) {var movie = eval(window.document + flash);if (movie.SetVariable) {return movie;}
}
return;}
if(document.layers) {if(document.embeds) {var movie = document.embeds[flash];if (movie.SetVariable) {return movie;}
}
return;}
if (!document.getElementById) {return;}
var movie = document.getElementById(flash);if (movie.SetVariable) {return movie;}
var movies = movie.getElementsByTagName('embed');if (!movies || !movies.length) {return;}
movie = movies[0];if (movie.SetVariable) {return movie;}
return;}
function test() {alert("zgoedgz");}
function video(){myleft=20;mytop=20;fenstersets="width=340,height=300,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";rtl=window.open("medien/trailer/video_awk.htm","video",fenstersets);win.focus();}
