 function get_bookmark_url() 
 {
   var l_bmurl = null;
   var l_currenturl = window.document.url;
   if(l_currenturl != null) 
   {
	var urls = l_currenturl.split("bmurl=");
	if(urls != null && urls.length > 1) 
	{
	  bmurl = urls[1]; 	
	}

   }
  return bmurl;
 }
function redirect(URL)
{
 location.href=URL;
}
function open_window(URL)
{  
 window.open(URL,'page','scrollbars=1,resizable=1,toolbar=1');
}
function open_help_window(p_URL,p_width,p_height)
{
 var l_features='scrollbars=1,resizable=1,width='+p_width+',height='+p_height;
 window.open(p_URL,'page',l_features);	
}
function make_full_host_name(p_is_url,p_item_source)
{
 var l_full_host_name;
 var l_item_source=p_item_source;
 var l_is_url=p_is_url;
 
 if ( l_is_url == 0 )
 {
  l_full_host_name = "NoUrl.html";
 } 
 else if ( (l_item_source.toLowerCase().indexOf("http://") !== -1) ||  (l_item_source.toLowerCase().indexOf("https://") !== -1) )
 {
  l_full_host_name =l_item_source;
 }
 else if ( l_item_source.toLowerCase().indexOf("www.") !== -1 )
 {   
  l_full_host_name ="http://"+l_item_source;
 } 
 else
 {
  l_full_host_name ="http://www."+l_item_source;
 }
 return l_full_host_name; 
}
function get_date()
{
   var months = new Array(12);
   months[0]  = "January";
   months[1]  = "February";
   months[2]  = "March";
   months[3]  = "April";
   months[4]  = "May";
   months[5]  = "June";
   months[6]  = "July";
   months[7]  = "August";
   months[8]  = "September";
   months[9]  = "October";
   months[10] = "November";
   months[11] = "December";
   var days = new Array(7);
   days[0]  = "Sunday";
   days[1]  = "Monday";
   days[2]  = "Tuesday";
   days[3]  = "Wednesday";
   days[4]  = "Thursday";
   days[5]  = "Friday";
   days[6]  = "Saturday";     
   var l_date = new Date();
   var l_dayofweeknumber  = l_date.getDay();
   var l_dayofmonthnumber  = l_date.getDate();
   var l_monthofyearnumber = l_date.getMonth();
   var l_year = l_date.getFullYear();
   var l_day = days[l_dayofweeknumber];
   var l_month = months[l_monthofyearnumber];
   var l_full_date = l_day + " " + l_dayofmonthnumber + " " + l_month + " " + l_year;
   
   document.write(l_full_date);
 }
