		// DynaMaster 2 stylesheet



			// used variables
	
			var isIE, isNS, isOpera, isMac, OS, theFontSize, theTextfieldSize, theSearchfieldSize;
	 		var theFontFamily = "Verdana, Geneva";
			var theHelptextFontFamily = "Verdana, Geneva";
	 		var theHeadlineFontFamily = "Georgia, Verdana, Geneva";



			// which OS?
	
			if (navigator.appVersion.indexOf("Mac") != -1) {
				isMac = true;
				OS = "Macintosh";
			}
			else if (navigator.appVersion.indexOf("Win") != -1) {
				OS = "Windows";
			}
			else
				OS = "Unknown";



			// which browser?
	
			/* N   = (document.layers) ? true:false;				// netscape 4
			I   = (document.all) ? true:false;						// ie4+
			DOM = ((document.getElementById)&&(!I))? true:false;	// ns6 etc.	*/

			if(navigator.appName == "Microsoft Internet Explorer") {
				isIE = true;
				browser = "Internet Explorer";
				browserversion = parseFloat(navigator.appVersion.substring(22,25));
			}
			else if (navigator.appName == "Netscape") {
				isNS = true;
				browser = "Netscape";
				browserversion = parseFloat(navigator.appVersion);
			}
			
			if (navigator.userAgent.indexOf("Opera") != -1) {
				isOpera = true;
				browser = "Opera";
				tut = navigator.userAgent.substring(0,15);
			}



			// is version ok?
			
			if (browserversion >= 4) {
				browserok = true;
			}	
			else {
				browserok = false;
			}



			// set font

			if(isNS && browserversion < 5 && !isMac) {
				theFontSize = 11;
			}
			
			else {
				theFontSize = 10;
			}



			// set size of fields

			if(isNS) {
				theSearchfieldSize = 110;
				theTextfieldSize = 370;
			}
			if(isIE || isOpera) {
				theSearchfieldSize = 110;
				theTextfieldSize = 370;
			}
			if(isMac) {
				theSearchfieldSize = 110;
				theTextfieldSize = 370;
			}



			// show ok button when publishing process is complete
			
			function publishingComplete() {

				if(isIE) {
	
					document.all.PUBLISHINGCOMPLETE.style.visibility = "visible";
	
				} else if(isNS) {
	
					document.PUBLISHINGCOMPLETE.visibility = "show";
	
				}

			}



			// enter style sheet
	
			document.write('<STYLE TYPE="text/css">');
			document.write('BODY { background-color : #880000; }');
			// document.write('BODY { background : url(/dynamaster/intra/graphics/backgrounds/background_metal.gif); }');
			document.write('BODY,TD,P { font-family : ' + theFontFamily + ', Sans-serif; font-size : ' + theFontSize + 'px; color : #333333; }');

			// links

			document.write('A { text-decoration : none; color : #880000; font-weight : bold; }');
			document.write('A.NORMAL { font-weight : normal; }');
			document.write('A.SMALLNORMAL { font-weight : normal; font-size : ' + (theFontSize-1) + 'px; }');
			document.write('A:active { color : #999999; }');
			document.write('A:hover { color : #999999; }');
			document.write('A.LOGOUT:hover { color : #666666; }');
			document.write('A.INACTIVE { color : #880000; font-weight : normal; }');

			// texts

			document.write('.USERANDDOMAIN { font-weight : normal; color : #FFFFF2; }');
			document.write('.ACTIVEOBJECT,.LOGOUT { font-weight : bold; color : #FFFFF2; }');
			document.write('.PARENT { font-weight : bold; color : #EEEEE2; }');
			document.write('.DISABLEDPARENT { font-weight : bold; color : #999999; }');
			document.write('.ACTIVETAB,.CAPTION,.TABLEHEADER { font-weight : bold; color : #000000; }');
			document.write('.INACTIVETAB,.CHART { font-weight : bold; color : #444444; }');
			document.write('.MAINCAPTION { font-family : ' + theHeadlineFontFamily + '; font-size : ' + (theFontSize+3) + 'px; font-weight : bold; color : #000000; }');
			document.write('.TABLEHEADERSORTING { font-weight : bold; color : #000000; text-decoration : underline; }');
			document.write('.INACTIVE { font-weight : normal; color : #888888; }');
			document.write('.PROPERTYHEADER { font-weight : bold; color : #666666; }');
			document.write('.INACTIVEPROPERTYHEADER { font-weight : bold; color : #999999; }');
			document.write('.SUBPROPERTYHEADER,.CAPTIONHELP { font-weight : normal; color : #666666; }');
			document.write('.SUBPROPERTYBLOB { background-color : #666666; }');
			document.write('.SUMMARYLINK,.INACTIVELOGOUT { font-weight : bold; color : #666666; }');

			document.write('.LISTBAR { font-weight : normal; color : #880000; }');
			document.write('.REDHEAD { font-weight : normal; color : #884444; }');
			document.write('.SUNDAY { color : #884444; }');
			document.write('.HELPSUBHEADER { font-weight : bold; color : #444444; font-size : ' + (theFontSize-1) + 'px; }');
			document.write('.HELPSUBSUBHEADER { color : #444444; text-decoration : underline; font-size : ' + (theFontSize-1) + 'px; }');
			document.write('.HELP { font-size : ' + (theFontSize-1) + 'px; }');
			
			document.write('.SPLASH { font-weight : bold; color : #FFFFF2; }');
			document.write('.WARNING { font-weight : bold; color : #FF0000; }');

			// textfields

			document.write('.BLOB { width : ' + (theTextfieldSize-12) + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');

			document.write('.SETTINGS { width : ' + (theTextfieldSize-50) + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');

			if(isIE && browserversion < 5) {

				document.write('.BLOBFILE { width : ' + (theTextfieldSize/2) + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');

			}
			
			else {
			
				document.write('.BLOBFILE { width : ' + (theTextfieldSize-12) + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			
			}
			
			document.write('.SELECTBOX { font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			
			document.write('.POPUPTEXT { width : 239px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.POPUPTEXTAREA { width : 239px; height : 70px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.POPUPSELECTBOX { width : 200px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');

			document.write('.MAINCAPTIONSELECTBOX { width : 380px; font-family : ' + theHeadlineFontFamily + '; font-size : ' + (theFontSize+1) + 'px; font-weight : bold; color : #000000; background-color : #ffffff; }');
			document.write('.SEARCHFIELD { width : ' + theSearchfieldSize + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; z-index: 1; }');

			document.write('.TEXT { width : ' + theTextfieldSize + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.TEXTSMALL { width : ' + (theTextfieldSize-260) + 'px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.TEXTXSMALL { width : 30px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.TEXTAREA { width : ' + theTextfieldSize + 'px; height : 100px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.TEXTAREALARGE { width : ' + theTextfieldSize + 'px; height : 200px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');
			document.write('.TEXTAREAXLARGE { width : ' + theTextfieldSize + 'px; height : 400px; font-size : ' + theFontSize + 'px; font-family : ' + theFontFamily + '; }');

			// infogate credits

			if(true) {
			document.write('#INFOGATECREDITS { position : absolute; right : 10px; bottom: 10px; z-index : 2; visibility : hidden; }');
			}
			
			// publishing complete
			
			if(isNS) {
			document.write('#PUBLISHINGCOMPLETE { visibility : hidden; }');
			}

			if(isIE) {
			document.write('#PUBLISHINGCOMPLETE { visibility : hidden; }');
			}
			
			document.write(".normal {font-family: verdana; font-size: 10px;}");
			
			
			document.write("IMG.buttonOut {border: 1px solid buttonface; margin:0; padding:0;}");
			document.write("IMG.buttonOver {border-top: 1px solid buttonhighlight;border-left: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;}");
			document.write("IMG.buttonDown {border-bottom: 1px solid buttonhighlight;border-right: 1px solid buttonhighlight;border-top: 1px solid buttonshadow;border-left: 1px solid buttonshadow;}");
			document.write("IMG.buttonDisabled {border: 1px solid buttonface; margin:0; padding:0;filter: alpha(opacity=50)}");
			
			document.write(".wysiwyg_TEXTAREA {font-family: verdana;font-size: 10px;overflow: auto;width: 369px;height: 102px;border: 2px inset buttonface;background-color: #FFFFFF;padding:1;}");
			document.write(".wysiwyg_TEXTAREALARGE {font-family: verdana;font-size: 10px;overflow: auto;width: 369px;height: 202px;border: 2px inset buttonface;background-color: #FFFFFF;padding:1;}");
			document.write(".wysiwyg_TEXTAREAXLARGE {font-family: verdana;font-size: 10px;overflow: auto;width: 369px;height: 402px;border: 2px inset buttonface;background-color: #FFFFFF;padding:1;}");		
			document.write(".wysiwyg_TEXT {font-family: verdana; font-size: 10px; overflow: hidden; width: 200px; height: 20px; border: 2px inset buttonface; padding:1;}");
			
			document.write("TD.toolbar { padding:0; padding-bottom:0; padding-top:1; font-family:verdana; font-size:10px; vertical-align: middle; background-color: buttonface;}");
			document.write("TABLE.toolbar {border-right: 1px outset; border-top: 1px outset; border-left: 1px outset; border-bottom: 1px outset; cursor: arrow}");
			document.write(".toolbar SPAN {border-top: 1px solid buttonhighlight;border-left: 1px solid buttonhighlight;border-bottom: 1px solid buttonshadow;border-right: 1px solid buttonshadow;padding:0 ; margin: 0; padding-bottom:1; padding-top:1;}");
			document.write(".toolbar_start {margin:0;background-color: buttonface;border-top: 2px solid buttonhighlight;border-left: 2px solid buttonhighlight;border-bottom: 2px solid buttonshadow;border-right: 2px solid buttonshadow;width: 3px; position: relative; top: -3px}");
			document.write("SPAN.toolbar_separator {font-family:verdana; font-size:10px;margin:0;background-color: buttonface;border-top: 1px solid buttonshadow;border-left: 1px solid buttonshadow;border-bottom: 1px solid buttonhighlight;border-right: 1px solid buttonhighlight;width: 2px;height: 1px; position: relative; top: -3px}");
			document.write(".toolbar SELECT {position: relative; top: -4px}");
			
			document.write('</STYLE>');
