///////////////////////////////////////
//// Copyright ////
///////////////////////////////////////
var myMessage='Sorry... function not allowed';
	//function makeFalse(){alert(myMessage);return false}
	function makeFalse(){statustype(statusbarmessage);return false}
	function mouseNum(e){if(e.which==2||e.which==3)return false}
	if(document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=mouseNum}
	document.oncontextmenu=makeFalse;

      var statusbarmessage="DocComply | PM EMR/EHR Billing";
      function statustype(statusbarmessage) 
		{
		   window.status = statusbarmessage;
		}

///////////////////////////////////////
//// F U L L  S C R E E N  D E M O ////
///////////////////////////////////////
	function test()
	{
	  window.open('demo/online-demo.html','fs','fullscreen=yes,');
	}
///////////////////////////////////////
////////////// BOOK MARK //////////////
///////////////////////////////////////
function addbookmark(url,desc){

	var nonie = 'Sorry, only Internet Explorer supports this method to add a bookmark/favourite\n But please feel free to visit the site\'s home page to add a bookmark manually';

	if(!url && !desc){
		var bookmarkurl		= "http://www.doccomply.com";
		var bookmarktitle	= "DocComply® - Making the Physician's Life Easier";
	}else{
		var bookmarkurl		= url;
		var bookmarktitle	= desc;
	}
	

	if (window.sidebar) { // Mozilla Firefox Bookmark
		alert('Due to security restrictions placed in Firefox, we are unable to automatically add a bookmark.\nPlease navigate to the home page and press: CTRL+D to add one manually.');
	} else if(document.all){ // IE Favourites
		window.external.AddFavorite(bookmarkurl,bookmarktitle);
	} else {
		alert(nonie);
	}
}
//////////////////////////////////
/////////// DAY - DATE ///////////
//////////////////////////////////
<!--

// This array holds the "friendly" day names
var day_names = new Array(7)
day_names[0] = "Sunday"
day_names[1] = "Monday"
day_names[2] = "Tuesday"
day_names[3] = "Wednesday"
day_names[4] = "Thursday"
day_names[5] = "Friday"
day_names[6] = "Saturday"

// This array holds the "friendly" month names
var month_names = new Array(12)
month_names[0] = "January"
month_names[1] = "February"
month_names[2] = "March"
month_names[3] = "April"
month_names[4] = "May"
month_names[5] = "June"
month_names[6] = "July"
month_names[7] = "August"
month_names[8] = "September"
month_names[9] = "October"
month_names[10] = "November"
month_names[11] = "December"

// Get the current date
date_now = new Date()

// Figure out the friendly day name
day_value = date_now.getDay()
date_text = day_names[day_value]

// Figure out the friendly month name
month_value = date_now.getMonth()
date_text += ", " + month_names[month_value]

// Add the day of the month
date_text += " " + date_now.getDate()

// Add the year
date_text += " " + date_now.getFullYear()

//-->
