﻿/* 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' };
var helveticaitalic = { src: '/includes/EF/StudentSite/flash/helveticaneueltstd-ltit.swf' };
sIFR.useStyleCheck = true;
sIFR.activate(helveticaneuebold);
sIFR.activate(helveticaitalic);

//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
});

//Logo1 "Educational Tours" text(Italics)
sIFR.replace(helveticaitalic, {
    selector: '#EFLogo'
        , css: [
          '.sIFR-root { color:#444444; font-size:29px;padding:0px; margin:0px; outline-style:none;cursor:pointer;}'
        ]
        , transparent: true
        , selectable: false
        , forceSingleLine: true
        , opaque: true
});

//Logo2 "International travel for teachers and students" text(smaller Italics)
sIFR.replace(helveticaitalic, {
    selector: '#EFLogoSubtxt'
        , css: [
          '.sIFR-root { color:#444444; font-size:16px; margin-top:-20px;word-spacing:50px;cursor:pointer;}'
        ]
        , 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:#FFAE00; }'
        ]
        , 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();
}
//Student Site Functions JS

//]]>