// Google Internal Site Search script- By JavaScriptKit.com (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

//Enter domain of site to search.
var domainroot="dnet.no-ip.biz"

function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}


//-----------------------------------------------------------------
	function jumpTo(URL_List){            
	var URL = URL_List.options[URL_List.selectedIndex].value;            
//	window.location.href = URL;
	window.open(URL);
	}    

//-----------------------------------------------------------------

function StartPageLoad(){
    document.write("<div id=\"PageLoad\" style=\"position:absolute;right:20px;top:20px;display:block;font-size:12pt;font-weight:bold;\">&#1491;&#1507; &#1492;&#1489;&#1497;&#1514; &#1489;&#1496;&#1506;&#1497;&#1504;&#1492;...<\/div>");
    document.write("<div id=\"PageContent\" style=\"display:none;\">");
} 
function FinishPageLoad(){
    document.write("<\/div>");
    document.write("<\/div>");
    document.getElementById("PageLoad").style.display = "none";
    document.getElementById("PageContent").style.display = "block";
}

//Calendar -----------------------------------------------------------------

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Francis Cocharrua :: http://scripts.franciscocharrua.com/ */

function calendar(date) {
  // If no parameter is passed use the current date.
  if(date == null)
     date = new Date();

  day = date.getDate();
  month = date.getMonth();
  year = date.getFullYear();

  months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

  this_month = new Date(year, month, 1);
  next_month = new Date(year, month + 1, 1);

  // Find out when this month starts and ends.
  first_week_day = this_month.getDay();
  days_in_this_month = Math.round((next_month.getTime() - this_month.getTime()) / (1000 * 60 * 60 * 24));

  calendar_html = '<table style="color:000000;">';
  calendar_html += '<tr><td colspan="7" style="background-color:FFD1BB; color:000000; text-align: center;font-size:7pt;"><b>' + months[month] + ' ' + year + '</b></td></tr>';
  calendar_html += '<tr>';

  // Fill the first week of the month with the appropriate number of blanks.
  for(week_day = 0; week_day < first_week_day; week_day++) {
    calendar_html += '<td style="background-color:BFFFDF; color:000000; font-size:7pt;"> </td>';
  }

  week_day = first_week_day;
  for(day_counter = 1; day_counter <= days_in_this_month; day_counter++) {
    week_day %= 7;
    if(week_day == 0)
      calendar_html += '</tr><tr>';

    // Do something different for the current day.
    if(day == day_counter)
      calendar_html += '<td style="text-align: center; background-color:E1E1E1; color:ffffff; font-size:7pt;"><b><a target=_blank href="http://dnet.no-ip.biz">' + day_counter + '</a></b></td>';
    else
      calendar_html += '<td style="background-color:BFFFDF; color:000000; text-align: center; font-size:7pt;"> ' + day_counter + ' </td>';

    week_day++;
  }

  calendar_html += '</tr>';
  calendar_html += '</table>';

  // Display the calendar.
  document.write(calendar_html);
}


//End Calendar -----------------------------------------------------------------



