//Copyright 2002 by A. Fricke - http://www.TheWordCompany.de - all rights reserved

var domain = "intercultures.de"
var modi_e = 'Februar 23rd, 2010'
var modi_d = '23. Februar 2010'
var modi_f = '30. Okt. 2002'
var modi_s = '30. Okt. 2002'
var modi_p = '30. Okt. 2002'

//--------------------------------------------------------------------------navigation
// status text
function shw(t){window.status=t;}
//location (self)
function jump(URL) {location.href = URL ;}
//location (left)
function jumpL(URL) {parent.left.location.href = URL ;}
//location (right)
function jumpR(URL) {parent.right.location.href = URL ;}

//---------------------------------------------------------------------------------show mail & date
function email_link(where, font_size, text_link ) {document.write('<a href="' + where + 'mail_me.htm"  target="_self" onmouseover="shw(\'E-Mail The Word Company\');return true;" onmouseout="shw(\' \');return true;"  class="m' + font_size + '">' +  text_link + '</a>');}
function last_e ( font_size ) {document.write('Last modified: ' + modi_e + '.');}
function last_d ( font_size ) {document.write('Letzte &Auml;nderung: ' + modi_d + '.');}
function last_f ( font_size ) {document.write('Letzte &Auml;nderung: ' + modi_f + '.');}
function last_s ( font_size ) {document.write('Letzte &Auml;nderung: ' + modi_s + '.');}
function last_p ( font_size ) {document.write('Letzte &Auml;nderung: ' + modi_p + '.');}

function printMail(myPath){
	var thisPath;
	var mailYear ='2010';
	
	if(myPath==3){thisPath='../../../media';}
	if(myPath==2){thisPath='../../media';}
	//alert(myPath + '/ thisP: ' + thisPath);
	//document.write('<br /><img src="' + thisPath + '/link.gif" width="6" height="6" border="0" align="absmiddle"> <a href="mailto:contact' + mailYear +'@intercultures.de">contact' + mailYear +'@intercultures.de</a>');
	
	if (location.pathname.indexOf('deutsch') != -1){
		document.write('<br /><img src="' + thisPath + '/link.gif" width="6" height="6" border="0" align="absmiddle"> <a href="mailto:kontakt' + mailYear +'@intercultures.de">kontakt' + mailYear +'@intercultures.de</a>');
	}else{
		document.write('<br /><img src="' + thisPath + '/link.gif" width="6" height="6" border="0" align="absmiddle"> <a href="mailto:contact' + mailYear +'@intercultures.de">contact' + mailYear +'@intercultures.de</a>');
	}
	
}


//------------------------------------------------------------------------Formatierung (CSS, BODY)
function myCss( path ) {
var cssPath ='';
switch (path) {
	case 0 : 
		cssPath = '' 
		break;
	case 1 : 
		cssPath = '../media/';
		break; 
	case 2 :
		cssPath = '../../media/';
		break; 
	case 3 :
		cssPath = '../../../media/';
		break;
	case 4 :
		cssPath = '../../../../media/';
		break;
	case 5 :
		cssPath = '../../../../../media/';
		break; 
	case 9 :
		cssPath = 'media/';
		break; 
	default :
		cssPath = '../media/';
	} 
	var name = navigator.appName.toLowerCase();
	var version = navigator.appVersion.toLowerCase();
if (version.lastIndexOf('win') != -1){
//WIN
	if ( name.indexOf('microsoft') != -1){
		//ex
		document.write('<link href="' + cssPath + 'ic_w.css" rel="styleSheet" type="text/css">');
		}else{
		//other browsers win
		document.write('<link href="' + cssPath + 'ic_w.css" rel="styleSheet" type="text/css">');
	}
}else{
if (version.lastIndexOf('mac') != -1) {
//apple
	document.write('<link href="' + cssPath + 'ic_m.css" rel="styleSheet" type="text/css">');}
//other systems
	else{document.write('<link href="' + cssPath + 'ic_w.css" rel="styleSheet" type="text/css">');}
}}


//---------------------------------------------------------------------------copyright
function cpr(cYear){
	cYear = '2010';
	//document.write('<p class="m3">&nbsp;</p><p class="m1">&copy; '+cYear+' by Stefan Meister, intercultures. All rights reserved.</p><p class="m3">&nbsp;</p>');
	document.write('<p class="m3">&nbsp;</p><p class="line">&nbsp;</p><p class="m1">&copy; '+cYear+' by Stefan Meister, intercultures. All rights reserved.</p><p class="m3">&nbsp;</p>');
	}
//--------------------------------------------------------------show world map
function show(thisPage, w, h) {
	thisPage = '../../media/' + thisPage + '.htm';
	var load = window.open(thisPage,'','scrollbars=no,menubar=no,height='+h+',width='+w+',resizable=yes,toolbar=no,location=no,status=no');
}