function openWindowGen(url,name,width,height,top,left,resize,scroll) {
        var temp = "window.open('" + url + "', '" + name + "', '" + "width=" + width + ',height=' + height + ',top=' + top + ',left=' + left + ',resizable=' + resize + ',scrollbars=' + scroll + "')";
        eval(temp);
}

function popup(url) {
	openWindowGen(url, 'popupwnd', 800, 600, 50, 50, 'yes', 'yes');
}
