function setReadMoreImg ( id , style){
	rep = document.getElementById(id);
	if (rep) rep.src = "img/read_more_"+style+".gif";
}

//function popup(mylink, windowname)
//{
//if (! window.focus)return true;
//var href;
//if (typeof(mylink) == 'string')
//   href=mylink;
//else
//   href=mylink.href;
//window.open(href, windowname, 'width=400,height=300,scrollbars=yes');
//return false;
//}


function wopen(url, name, w, h)
{
// Fudge factors for window decoration space.
 // In my tests these work well on all platforms & browsers.
w += 32;
h += 96;
 var win = window.open(url,
  name, 
  'width=' + w + ', height=' + h + ', ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=yes, resizable=no');
 win.resizeTo(w, h);
 win.focus();
}

function wlopen(url, name, w, h)
{
// Fudge factors for window decoration space.
 // In my tests these work well on all platforms & browsers.
w += 32;
h += 96;
 var win = window.open(url,
  name, 
  'width=' + w + ', height=' + h + ', ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=yes, resizable=no');
 win.resizeTo(w, h);
 win.focus();
}

function wfbopen(url, name, w, h)
{
// Fudge factors for window decoration space.
 // In my tests these work well on all platforms & browsers.
w += 32;
h += 96;
 var win = window.open(url,
  name, 
  'width=' + w + ', height=' + h + ', ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=yes, resizable=no');
 win.resizeTo(w, h);
 win.focus();
}

function logon_win(gid) {

window2=window.open("http://www.praemium.biz/pr_redirector/redirect.aspx?gid="+gid, gid+"_main" , "fullsceen=yes, toolbar=no, menubar=no, scrollbars=yes, status=yes, resizable=yes");window2.focus(); 

} 

