jQuery.noConflict();jQuery(function(){jQuery('.languageswitcher, .menu .navitem, #iwanttopanel a').mouseenter(function(){if(!jQuery(this).hasClass('iwantto'))
jQuery(this).addClass('hover');});jQuery('.languageswitcher, .menu .navitem, #iwanttopanel a').mouseleave(function(){if(!jQuery(this).hasClass('iwantto'))
jQuery(this).removeClass('hover');});if(!i_am_ie6){jQuery('.elem_function_with_hover .image a').mouseenter(function(){jQuery(this).addClass('hover');}).mouseleave(function(){jQuery(this).removeClass('hover');});}
jQuery('.elem_function_screenshot .image a').click(function(){openscreenshot();return false;});jQuery('.elem_function_addsite .image a').click(function(){openaddsite(this);return false;});jQuery('.addsite_link').click(function(){openaddsite(this);return false;});jQuery('.elem_function_with_hover .image a[href*="download.php"]').each(function(){jQuery(this).click(function(){var elem_href=jQuery(this).attr("href");if(elem_href.indexOf('tunebite')!=-1)
product="tunebite";else if(elem_href.indexOf('radiotracker')!=-1)
product="radiotracker";else if(elem_href.indexOf('mediaraptor')!=-1)
product="mediaraptor";else if(elem_href.indexOf('moviebox')!=-1)
product="moviebox";else if(elem_href.indexOf('light')!=-1)
product="light";else if(elem_href.indexOf('complete')!=-1)
product="audialsOne";pageTracker._trackEvent("installer","download",product);});});jQuery(".elem_titel_expander").each(function(){var div_count=jQuery("span",this).attr("class");var content=jQuery("<div class='expander_content'></div>").insertAfter(this);content.css("display","none");elem=jQuery("~ .area",this).filter(":first");for(i=0;i<div_count;i++){newelem=jQuery("~ .area",elem).filter(":first");if(elem.hasClass("elem_titel_expander")){elem=newelem;}
else{elem.appendTo(content);elem=newelem;}}
jQuery(content).addClass("expand_off");});function switchExpandButton(expander,content,mode){if(mode=="on"){jQuery(expander).removeClass("area_progress");jQuery(expander).addClass("area_off");jQuery(content).removeClass("expand_on");jQuery(content).addClass("expand_off");}
else{jQuery(expander).removeClass("area_progress");jQuery(expander).addClass("area_on");jQuery(content).removeClass("expand_off");jQuery(content).addClass("expand_on");}}
jQuery(".elem_titel_expander .expander_arrow").click(function(){var elem=jQuery("~ .expander_content",jQuery(this).parent()).filter(":first");current=jQuery(this).parent();current.removeClass("area_on");current.removeClass("area_off");current.addClass("area_progress");if(elem.hasClass("expand_on")){if(jQuery.browser.msie&&jQuery.browser.version<=7)
elem.hide(300,function(){switchExpandButton(current,this,"on");});else
elem.slideUp(300,function(){switchExpandButton(current,this,"on");});}
else{if(jQuery.browser.msie&&jQuery.browser.version<=7)
elem.show(300,function(){switchExpandButton(current,elem,"off");});else
elem.slideDown(300,function(){switchExpandButton(current,elem,"off");});}});if(!i_am_ie6){jQuery('.collapsable').each(function(){jQuery(this).removeClass('collapsable')
jQuery(this).children().addClass('collapsable')
if(jQuery(this).hasClass('collapsed'))
{jQuery(this).removeClass('collapsed');jQuery(this).children().addClass('collapsed');}});jQuery('.collapsable.collapsed .tablecontent').hide();jQuery('.area .image a, .pointer a, .show .buttons .button1, .show .buttons .button2').mousedown(function(){jQuery(this).addClass('fakeactive');}).mouseup(function(){jQuery(this).removeClass('fakeactive');});if(jQuery('.collapsable').hasClass('collapsed')){jQuery('.collapsable.collapsed .tablehead th').prepend('<a href="#" class="toggle" style="color: #B72994; text-decoration:blink; width: 40px; float: left; font-weight: bold;"><img src="/media/transparent.gif" width="15" height="15"></a> ');jQuery('.collapsable.collapsed').addClass('currentlycollapsed');}else{jQuery('.collapsable.collapsed .tablehead th').prepend('<a href="#" class="toggle" style="color: #B72994; text-decoration:blink; width: 40px; float: left; font-weight: bold;"><img src="/media/transparent.gif" width="15" height="15"></a> ');}
jQuery('.currentlycollapsed .tablehead th').click(function(){var container=jQuery(this).parent().parent().parent().parent().parent();if(container.hasClass('currentlyanimated'))
return false;container.addClass('currentlyanimated');if(container.hasClass('currentlycollapsed'))
{container.removeClass('currentlycollapsed');if(jQuery.browser.msie&&jQuery.browser.version<=7)
container.find('.tablecontent').show(300,function(){container.removeClass('currentlyanimated');});else
container.find('.tablecontent').slideDown(300,function(){container.removeClass('currentlyanimated');});}else{if(jQuery.browser.msie&&jQuery.browser.version<=7)
container.find('.tablecontent').hide(300,function(){container.removeClass('currentlyanimated');container.addClass('currentlycollapsed');});else
container.find('.tablecontent').slideUp(300,function(){container.removeClass('currentlyanimated');container.addClass('currentlycollapsed');});}
return false;});}
var iwanttopanel=jQuery('#iwanttopanel');if(iwanttopanel.length)
iwanttopanel.rsIWantTo({showSelector:'.show',navitemSelector:'.navitem.iwantto'});jQuery(function(){var show=jQuery('.show');if(show.length)
show.rsSlideShow({animationDuration:(typeof(rs_show_animationDuration)=='undefined')?600:rs_show_animationDuration,sleepDuration:(typeof(rs_show_sleepDuration)=='undefined')?10000:rs_show_sleepDuration,animationType:(typeof(rs_show_animationType)=='undefined')?'slide':rs_show_animationType});});jQuery(window).load(function(){var awardshow=jQuery('.awardshow');if(awardshow.length)
awardshow.rsAwardShow({animationDuration:(typeof(rs_award_animationDuration)=='undefined')?2000:rs_award_animationDuration,sleepDuration:(typeof(rs_award_sleepDuration)=='undefined')?4000:rs_award_sleepDuration});});jQuery('.elem_youtube_with_image .video_img').click(function(){var parent=jQuery(this).parent();var code=parent.attr('id').substr(8);parent.html('<object width="640" height="390">'+
'<param name="wmode" value="transparent">'+
'<param name="movie" value="http://www.youtube.com/v/'+code+
'?fs=1&amp;hl=de_DE&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&autoplay=1&version=3&hd=1&amp;ap=%26fmt=22">'+
'<param name="allowFullScreen" value="true">'+
'<param name="allowscriptaccess" value="always">'+
'<param name="quality" value="best">'+
'<embed wmode="transparent" src="http://www.youtube.com/v/'+code+
'?fs=1&amp;hl=de_DE&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999&autoplay=1&version=3&hd=1"'+
'type="application/x-shockwave-flash" '+
'allowscriptaccess="always" '+
'allowfullscreen="true" '+
'width="640" height="390">'+
'</object>');});if(!i_am_ie6){jQuery('.elem_youtube_with_image .video_img').mouseenter(function(){jQuery(this).addClass('hover');}).mouseleave(function(){jQuery(this).removeClass('hover');});}
if(navigator.appVersion.indexOf("Mac")!=-1){jQuery('.elem_mac_to_front').each(function(){var me=jQuery(this);var parent=me.parent();var subs=parent.find('.elem_youtube_with_image');var movenode=null;if(subs.length)
subs.first().before(me)
else
me.prependTo(me.parent());});}});
