
var strUserAgent = navigator.userAgent;
if (strUserAgent.indexOf('iPod') != -1 || strUserAgent.indexOf('iPhone') != -1){
	document.writeln('\n\t<link href="inc/cssIPhone.css" rel="stylesheet" type="text/css" media="screen, projection" />');
}

var blnCancelCollapse = false;
function objSection_click(objSection){
	if (!blnCancelCollapse){
		if (objSection.className == 'clsSection_collapsed'){
			objSection.className = 'clsSection_expanded';

		} else {
			objSection.className = 'clsSection_collapsed';

		}
		
		var strSectionId = objSection.id;

		for (var intSectionIndex = 0; intSectionIndex < 11 ; intSectionIndex++){
			if (strSectionId != 'objSection_' + intSectionIndex.toString()){
				document.getElementById('objSection_' + intSectionIndex.toString()).className = 'clsSection_collapsed';
			}
		}

	} else {
		blnCancelCollapse = false;

	}
}

function cancelCollapse() {
	blnCancelCollapse = true;
}

function showContact(strContactElement){
	var strContactEncoded = ':84/745/6885!}!=b!isfg>#nbjmup;xfcefwuppmAhnbjm/dpn#?xfcefwuppmAhnbjm/dpn=0b?';
	var strContactHTML = '';
	for(i=0;i<strContactEncoded.length;i++){
		strContactHTML += String.fromCharCode(strContactEncoded.charCodeAt(i) - 1);
	}

	document.getElementById(strContactElement).innerHTML = strContactHTML;

}

function body_onLoad(){
	var objBase = document.getElementById('objBase');
	objBase.style.opacity = '0.5';
	objBase.style.filter = 'alpha(opacity=50)';
}


