function MM_openBrWindow(theURL,winName,features)
{ window.open(theURL, winName, features); }


var ContentHeight = 270;
var TimeToSlide = 500.0;
var openAccordion = '';
var openTitle = '';
var totalCollapsables = 3; 	//modify if more tabs are added

////////////////////////////////////////////////////////////////////////////////////////accordion
/*
function initcollapse() {
    $("document").ready(function () {
        $(".collapsable .collapsableContent").slideToggle("normal")				//initialize by collapsing all elements
        $(".collapsable > .AccordionTitle").click(function () {
            refreshAd(0);
            $(this).parent().children().filter(".AccordionTitle").toggleClass("selected");
            $(this).parent().children().filter(".collapsableContent").slideToggle("normal");
        });
    });
}
*/





////////////////////////////////////////////////////////////////////////////////////////FAVE VIDEO LINKS
function initFaveVideoLinks() {

    $("document").ready(function () {
        //init Iframe
        var iframe = $('#vidFrame');
        var initURl = $('#FaveVidlinkContainer a:first').attr('rel');
        $('#FaveVidlinkContainer a:first').addClass('currentTab');
        $(iframe).attr('src', initURl);


        $("#FaveVidlinkContainer a").click(function () {
            var withCurrentClass = $("#FaveVidlinkContainer a.currentTab");
            var imageName = $(this).attr('rel');
            $(iframe).attr('src', imageName);

            withCurrentClass.removeClass('currentTab');
            $(this).addClass('currentTab');
        });
    });
    
}
