﻿    /// <summary>
    /// JScript Name        :   JScript<br></br>
    /// Function Name       :   <b>Help</b> used to Open the Help form
    /// Created By          :   Vignesh.V<br></br>
    /// Created On          :   2:37 PM 12/3/2007<br></br>
    /// Last Updated By     :   Vignesh.V<br></br>
    /// Updated On          :   2:37 PM 12/3/2007<br></br>
    /// Description         :   This form is used to Open the Help form.<br></br> 
    /// </summary>

function Help()
 {
    window.open("FrmHelp.aspx","Window1","menubar=no,width=460,height=360,toolbar=no");
}

    /// <summary>
    /// Function Name       :   <b>click</b> used to Deny the Right Click Option in the Forms.
    /// Created By          :   Vignesh.V<br></br>
    /// Created On          :   2:41 PM 12/3/2007<br></br>
    /// Last Updated By     :   Vignesh.V<br></br>
    /// Updated On          :   2:41 PM 12/3/2007<br></br>
    /// Description         :   This form is used to Deny the Right Click Option in the Forms.<br></br> 
    /// </summary>


var message=" WARNING !! All Rights Reserved by Tanmia- CareerGate.All content contained within this site is protected by copyright laws. Unauthorized use of our material is strictly prohibited.";
function click(e)
 {
    if (document.all) 
    {
        if (event.button==2||event.button==3)
        {
            alert(message);
            return false;
        }
    }
    
    if (document.layers) 
    {
        if (e.which == 3) 
        {
            alert(message);
            return false;
        }
    }
}

if (document.layers) 
{
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

    /// <summary>
    /// Function Name       :   <b>PrintPage</b> used to Print the ENTIRE Form.
    /// Created By          :   Vignesh.V<br></br>
    /// Created On          :   2:41 PM 12/3/2007<br></br>
    /// Last Updated By     :   Vignesh.V<br></br>
    /// Updated On          :   2:41 PM 12/3/2007<br></br>
    /// Description         :   This form is used to Print the ENTIRE Form.<br></br> 
    /// </summary>

function PrintPage() 
{
window.print();  
}

 /// <summary>
    /// Function Name       :   <b>BookMark</b> used to BookMark the website.
    /// Created By          :   Vignesh.V<br></br>
    /// Created On          :   2:41 PM 12/3/2007<br></br>
    /// Last Updated By     :   Vignesh.V<br></br>
    /// Updated On          :   2:41 PM 12/3/2007<br></br>
    /// Description         :   This form is used to BookMark the website.<br></br> 
    /// </summary>

function BookMark()
{
window.external.Addfavorite('http://www.careergate.ae','Tanmia-CareerGate')
}
