var leftnav;(function(a){leftnav={init:function(){a("#leftnav div.toggle").each(function(){if(a(this).siblings(".submenu").length){a(this).click(function(){leftnav.toggle(a(this).siblings(".submenu"))})}else{a(this).hide()}});},restoreMenuState:function(){a("#leftnav li.has-submenu").each(function(c,d){var b=getUserSetting("m"+c);if("o"==b){a(d).addClass("open")}else{if("c"==b){a(d).removeClass("open")}}})},toggle:function(b){b.slideToggle(150,function(){b.css("display","")}).parent().toggleClass("open");a("#leftnav li.has-submenu").each(function(d,f){var c=a(f).hasClass("open")?"o":"c";});return false}};a(document).ready(function(){leftnav.init()});})(jQuery);$(document).ready(function(){$(".tab_content").hide();$("ul.tabs li:first").addClass("active").show();$(".tab_content:first").show();$("ul.tabs li").click(function(){$("ul.tabs li").removeClass("active");$(this).addClass("active");$(".tab_content").hide();var activeTab=$(this).find("a").attr("href");$(activeTab).fadeIn();return false;});});$(document).ready(function(){$('div#results a.heading').click(function(){$(this).css('outline','none');if($(this).parent().hasClass('current')){$(this).parent().siblings('.extra').slideUp('fast',function(){$(this).parent().toggleClass('current');});}else{$(this).parent().parent().siblings('.extra').slideToggle('slow',function(){$(this).parent().toggleClass('current');});}
return false;});});function initPage(){$('#accordion div').hide();$('#accordion div:first').show();$('#accordion h3').click(function(){var checkElement=$(this).next();$('#accordion h3').removeClass('selected');if((checkElement.is('div'))&&(checkElement.is(':visible'))){return false;}
if((checkElement.is('div'))&&(!checkElement.is(':visible'))){$('#accordion div:visible').slideUp('normal');$(this).addClass('selected');checkElement.slideDown('normal');return false;}});}
$(document).ready(function(){initPage();});function popUp(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=720,height=680,left = 600,top = 275');");}
function popUp8x6(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=600,left = 600,top = 275');");}
function getXMLHTTP(){var xmlhttp=false;try{xmlhttp=new XMLHttpRequest();}
catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e){try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e1){xmlhttp=false;}}}
return xmlhttp;}
function getVideo(strURL){var req=getXMLHTTP();if(req){req.onreadystatechange=function(){if(req.readyState==4){if(req.status==200){document.getElementById('videodiv').innerHTML="<p><div style='width:320px; height:256px; margin:0 auto;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='320' height='256' id='FLVPlayer'><param name='movie' value='/FLVPlayer_Progressive.swf' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='scale' value='noscale' /><param name='FlashVars' value='&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=http://www.ldcdownloads.co.uk/flash/flv/DSAintoDV&autoPlay=true&autoRewind=true' /><embed src='/FLVPlayer_Progressive.swf' flashvars='&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=http://www.ldcdownloads.co.uk/flash/flv/DSAintoDV&autoPlay=true&autoRewind=true' quality='high' scale='noscale' width='320' height='256' name='FLVPlayer' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' /></object></div><br /></p>";}else{alert("There was a problem while using XMLHTTP:\n"+req.statusText);}}}
req.open("GET",strURL,true);req.send(null);}}
function getHazper(strURL){var req=getXMLHTTP();if(req){req.onreadystatechange=function(){if(req.readyState==4){if(req.status==200){document.getElementById('hazvideo').innerHTML="<p><div style='width:360px; height:288px; margin:0 auto;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='360' height='288' id='FLVPlayer'><param name='movie' value='/FLVPlayer_Progressive.swf' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='scale' value='noscale' /><param name='FlashVars' value='&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=http://www.ldcdownloads.co.uk/flash/flv/HowToScore&autoPlay=true&autoRewind=true' /><embed src='/FLVPlayer_Progressive.swf' flashvars='&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=http://www.ldcdownloads.co.uk/flash/flv/HowToScore&autoPlay=true&autoRewind=true' quality='high' scale='noscale' width='360' height='288' name='FLVPlayer' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' /></object></div><br /></p>";}else{alert("There was a problem while using XMLHTTP:\n"+req.statusText);}}}
req.open("GET",strURL,true);req.send(null);}}
function getIntro(strURL){var req=getXMLHTTP();if(req){req.onreadystatechange=function(){if(req.readyState==4){if(req.status==200){document.getElementById('introdiv').innerHTML="<p><div style='width:480px; height:270px; margin:0 auto;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='480' height='270' id='FLVPlayer'><param name='movie' value='/FLVPlayer_Progressive.swf' /><param name='salign' value='lt' /><param name='quality' value='high' /><param name='scale' value='noscale' /><param name='FlashVars' value='&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=http://www.ldcdownloads.co.uk/flash/Intro&autoPlay=true&autoRewind=true' /><embed src='/FLVPlayer_Progressive.swf' flashvars='&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=http://www.ldcdownloads.co.uk/flash/Intro&autoPlay=true&autoRewind=true' quality='high' scale='noscale' width='480' height='270' name='FLVPlayer' salign='LT' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' /></object></div><br /></p>";}else{alert("There was a problem while using XMLHTTP:\n"+req.statusText);}}}
req.open("GET",strURL,true);req.send(null);}}