

jQuery(document).ready(function() {
    //To open all anchor class with new_window in new Window.
    jQuery('.new_window').click(function(e) {
        e.preventDefault();
        window.open(this.href);
    });

    //To redirect all anchor class with taleo to taleo.aspx.
    jQuery('.taleo').click(function(e) {

        e.preventDefault();
        // window.open("/taleo.aspx?tsrc=" + this.href);

        /*Modified by baskar to stop redirect*/
        window.open( this.href);
    });


    // Remove the tooltip that's added automatically by the AddThis.com widget
    if (document.getElementById('share-with-friend')) $('#share-with-friend a').attr('title', '');
});

/********************/
function closePopupWindow() {
    $("#content-popup").hide();
    $('#popup_frame').attr("src", "");
}

function changeParentUrl(url) {
    document.location = url;
}

function changeParentUrlNewWindow(url) {
    window.open(url);
}

function createFlash(vWidth, vHeight, vSWF, vBaseUrl) {
    var flashvars = false;
    var params = {
        quality: "high",
        wmode: "opaque",
        menu: "false",
        align: "middle",
        bgcolor: "#EEF4F4",
        allowScriptAccess: "always",
        base: vBaseUrl,
        flashvars: ""
    };
    var attributes = {};
    swfobject.embedSWF(vSWF, "flashcontent", vWidth, vHeight, "9", "/flash/app_expressinstall.swf", flashvars, params, attributes);
}
