/**
 * Copyright (c) 2002 by CANAL SYSTEMS GmbH
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, is not permitted without the explicit acknowledgment
 * from CANAL SYSTEMS GmbH.
 *
 * Useful JavaScript-Functions
 *
 * Author: Mauro Canal, mcanal@canalsystems.net
 * Version 1.0, 11.02.2002
 *
 * History:
 *  1.0 30.09.2001  mac
 *                  initial release
 *
 */

var useCSSForms = true;

// detect netscape 4
if (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) <= 4) {
	useCSSForms = false;
}

// wirte Email address
function ComposeEmail(UserName, UserDomain, Subject) {
	document.write('<a href="mailto:'+ UserName +'&#64;'+ UserDomain);
	if (Subject) document.write('?'+ Subject);
	document.write('">'+ UserName +'&#64;'+ UserDomain +'</a>');
}

