﻿//Change cursor
function mOver(obj)
{
    obj.style.cursor = 'Pointer'
}
function mOut(obj)
{
    obj.style.cursor = 'Default'
}

function openNewWindow(url, setSize, w, h)
{
    var win = null;
    var settings = null;
    if(setSize == "true")
    {
        LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
        TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
        settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+', scrollbars=no, menubar=no, toolbar=no, location=no, directories=no, status=no, resizable=no, dependent=no'
    }
    win = window.open(url,"win",settings)
}