//Copyrights by SCB USA, Inc., scbUSA.net, iDacota.com, iPlexOS.com, eMoney24.com and 
//Gunter H Schubert, Ph.D. in Computer Science and Information Technology
//Copyrights for Content Delivery by DentalEDU.TV, Dr. Bradley J Engle
//All rights reserved
//API Settings for Generating the iDacota Web Application Service for only approved Websites
//API Settings Example for Test Button in Layer Mode

var iDacotaAPI = [];

//Display Mode of application: 0=Direct Mode(default); 1=Layer Mode
iDacotaAPI.iDacotaMode=1;

//Autostart of Web Application Service: 0=no(default); 1=yes
iDacotaAPI.iAutoMode=0;

//Your assigned DentalEDU Provider ID
iDacotaAPI.iDacotaID=20;

//Your assigned Public Key
iDacotaAPI.pubkey='K8swuZiipmt7';

//Your assigned Private Key
iDacotaAPI.prvkey='yVt3vgyotKsn';

//for Direct Mode only necessary: Pixel Height Offset of Browser Window Height 25px (example) for button height; default=0
iDacotaAPI.iPixelHeightOffset=0;

//Test Buttons only as example, if iDacotaAPI.iAutoMode=0
//Call your MDE app with your own buttons or links from your own website
/*
if(!iDacotaAPI.iAutoMode){
	if(iDacotaAPI.iDacotaMode){
		//Layer Mode
		document.write(''+
			'<div align="center" id="ghsButton" style="height:25px">'+
				'<button onclick="SBiPlexOS();" style="font-size:x-small">Show MDE Layer Mode</button>'+
				' or <a href="javascript:SBiPlexOS();" title="Show MDE Layer Mode" style="font-size:small">Show MDE Layer Mode</a>'+
			'</div>');
	}
	else{
		//Direct Mode
		document.write(''+
			'<div align="center" id="ghsButton" style="height:25px">'+
				'<button onclick="ghsShowHide(1);" style="font-size:x-small">Show MDE Direct Mode</button>&nbsp;'+
				'<button onclick="ghsShowHide(0);" style="font-size:x-small">Hide MDE Direct Mode</button>'+
				' or <a href="javascript:ghsShowHide(1);" title="Show MDE Layer Mode" style="font-size:small">Show MDE Direct Mode</a>'+
				' or <a href="javascript:ghsShowHide(0);" title="Hide MDE Layer Mode" style="font-size:small">Hide MDE Direct Mode</a>'+
			'</div>');
	}
}
*/
document.write(''+
	'<sc'+'ript type="text/javasc'+'ript" src="ht'+'tp://ww'+'w.iPlex'+'OS.c'+'om/iDacotaDentalCE.a'+'sp?'+
	'iDacotaID='+iDacotaAPI.iDacotaID+
	'&pubkey='+iDacotaAPI.pubkey+
	'&prvkey='+iDacotaAPI.prvkey+
	'&iAutoMode='+iDacotaAPI.iAutoMode+
	'&iPixelHeightOffset='+iDacotaAPI.iPixelHeightOffset+
	'&iDacotaMode='+iDacotaAPI.iDacotaMode+
	'"></sc'+'ript>');


