﻿/* Replacement calls. Please see documentation for more information. */
//<![CDATA[
//    var helveticaneuebold = { src: '/includes/EF/StudentSite/flash/helveticaneuebold.swf' };
//    var helveticaNeue = { src: '/includes/EF/StudentSite/flash/helveticaneue.swf' };
//    sIFR.useStyleCheck = true;
//    sIFR.activate(helveticaneuebold);
//                
//    //Side Nav                  
//    sIFR.replace(helveticaneuebold, {
//        selector: '#inThisSection'
//        ,css: [
//          '.sIFR-root { color:#FFFFFF; font-size:11px; text-transform:uppercase; margin-bottom:3px; }'
//        ]
//        ,transparent:true
//        ,selectable:false
//        ,forceSingleLine:true
//        ,opaque:true
//      });
//      
//    //H1    
//    sIFR.replace(helveticaneuebold, {
//        selector: 'h1'
//        ,css: [
//          '.sIFR-root { padding:0px; margin:0px; font-size:22px; color:#090e80; }'
//        ]
//        ,transparent:true
//        ,selectable:false
//        ,forceSingleLine:true
//        ,opaque:true
//    });    
    
    function OpenWindow(url,wname,params) {
        var oWin = window.open(url,wname,params);
        return false;
    }
    function SwapImg(ctrl, img) {
        document.getElementById(ctrl).src = img;
    }
    
    function showlargemap(pageURL,title,w,h) 
    { 
	    var left = (screen.width/2)-(w/2);
        var top = (screen.height/2)-(h/2);
        window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
    }
    
    function closeWin() 
{
	window.close();
}

function printdiv()
{
	window.print();
}

function SwapImage(Ctrl, Url) {
    document.getElementById(Ctrl).src = Url;
}


//Student Site Functions JS

//]]>