function getIdProperty( id, property )
{
  
        var styleObject = document.getElementById(id);
        if (styleObject != null)
        {
            styleObject = styleObject.style;
            if (styleObject[property])
            {
                return styleObject[ property ];
            }
        }
        styleObject = getStyleBySelector( "#" + id );
        return (styleObject != null) ? styleObject[property] : null;
}


function setIdProperty(id, property, value)
{
         var styleObject = document.getElementById(id);
        if (styleObject != null)
        {
            styleObject = styleObject.style;
            styleObject[property] = value;
        }
}

function d_cur(id,img)
{
setIdProperty(id, "background", "url("+img+")");
setIdProperty(id, "cursor", "pointer");
}
function d_cur2(id,img)
{
setIdProperty(id, "background", "url("+img+")");
}

function openwin(url,w,h) {
    window.open(url, 'popup2','toolbar=no,menubar=no,scrollbars,resizable, height='+h+',width='+w);
}

