// JavaScript Document
function popup (url) {
fenster = window.open(url, "Popupfenster", "width=980,height=600,resizable=yes");
fenster.focus();
return false;
}
//Remove Focus Links
function removeFocusOnAllLinks(){
for(var i=0 ; i < document.links.length ; i++)
document.links[i].onfocus=blurLink;
}
function blurLink() {
if (this.blur) this.blur();
}
window.onload=removeFocusOnAllLinks;
/*Open/Close Additional Infos*/
$(document).ready(function () {
$("#close001 a").click(function(event){
event.preventDefault();
$("#addInformation_ID001").slideUp("slow");
});
$("#open001 a").click(function(event){
event.preventDefault();
$("#addInformation_ID001").slideDown("slow");
});
$("#close002 a").click(function(event){
event.preventDefault();
$("#addInformation_ID002").slideUp("slow");
});
$("#open002 a").click(function(event){
event.preventDefault();
$("#addInformation_ID002").slideDown("slow");
});
$("#close003 a").click(function(event){
event.preventDefault();
$("#addInformation_ID003").slideUp("slow");
});
$("#open003 a").click(function(event){
event.preventDefault();
$("#addInformation_ID003").slideDown("slow");
});
$("#close004 a").click(function(event){
event.preventDefault();
$("#addInformation_ID004").slideUp("slow");
});
$("#open004 a").click(function(event){
event.preventDefault();
$("#addInformation_ID004").slideDown("slow");
});
});
/*Open/Close Error Message - just to show how it will look like*/
$(document).ready(function () {
$("#testMessage").click(function(event){
event.preventDefault();
$("#systemMessage").slideDown("slow");
});
$("#resetMessage").click(function(event){
event.preventDefault();
$("#systemMessage").slideUp("slow");
});
});
$(document).ready(function () {
/**
$(".showGuided").click(function(event){
event.preventDefault();
$("#guidedSearchStepResult").slideDown("slow");
});
/*
$("#hide1ststep").click(function(event){
event.preventDefault();
$("#guidedSearchStepResult").hide("slow");
});*/
});
$(document).ready(function () {
$("#hide1ststep").click(function(event){
event.preventDefault();
$("#guidedSearchStepResult").slideUp("slow");
$("#guidedSearchStepResult2").slideDown("slow");
});
});
/** Course Select Function**/
function selectChanged(id){
switch (id) {
case "0":
document.getElementById('courseList1').style.display='none';
document.getElementById('courseList1').style.display='block';
document.getElementById('courseList2').style.display='none';
document.getElementById('courseList3').style.display='none';
break;
case "1":
document.getElementById('courseList1').style.display='none';
document.getElementById('courseList1').style.display='block';
document.getElementById('courseList2').style.display='none';
document.getElementById('courseList3').style.display='none';
break;
case "2":
document.getElementById('courseList2').style.display='none';
document.getElementById('courseList2').style.display='block';
document.getElementById('courseList1').style.display='none';
document.getElementById('courseList3').style.display='none';
break;
case "3":
document.getElementById('courseList3').style.display='none';
document.getElementById('courseList3').style.display='block';
document.getElementById('courseList1').style.display='none';
document.getElementById('courseList2').style.display='none';
break;
default:
break;
}
}
/*Open/Close Error Message - just to show how it will look like*/
/*
$(document).ready(function () {
$("#userProfile").click(function(event){
event.preventDefault();
$("#systemMessage").slideDown("slow");
});
});*/
//Show Comment Forms
$(document).ready(function () {
$("#addComment").click(function(event){
event.preventDefault();
$("#commentForm").slideDown("slow");
});
});
$(document).ready(function () {
$("#saveComment").click(function(event){
event.preventDefault();
$("#commentForm").slideUp("slow");
});
});
$(document).ready(function () {
$("#addCommentGlobal").click(function(event){
event.preventDefault();
$("#commentFormGlobal").slideDown("slow");
});
});
/**
$(document).ready(function () {
$("#saveCommentGlobal").click(function(event){
event.preventDefault();
$("#commentFormGlobal").slideUp("slow");
});
});
*/
//Show Comments
$(document).ready(function () {
$("#viewComment").click(function(event){
event.preventDefault();
$('.viewArticleFunctions').slideUp("slow");
$("#activityFrontContent").slideDown("slow");
});
});
$(document).ready(function () {
$("#closeComment").click(function(event){
event.preventDefault();
$("#activityFrontContent").slideUp("slow");
});
});
//Show Share
$(document).ready(function () {
$("#showShare").click(function(event){
event.preventDefault();
$('.viewArticleFunctions').slideUp("slow");
$("#share").slideDown("slow");
});
});
$(document).ready(function () {
$("#closeShare").click(function(event){
event.preventDefault();
$("#share").slideUp("slow");
});
});
//Show SendToFriend
$(document).ready(function () {
$("#showsendToFriend").click(function(event){
event.preventDefault();
$('.viewArticleFunctions').slideUp("slow");
$("#sendToFriend").slideDown("slow");
});
});
$(document).ready(function () {
$("#closesendToFriend").click(function(event){
event.preventDefault();
$("#sendToFriend").slideUp("slow");
});
});
//Show Expertise Details
function show_global() {document.getElementById('content_global').style.display='block';}
function hide_global() {document.getElementById('content_global').style.display='none';}
function show_organizational() {document.getElementById('content_organizational').style.display='block';}
function hide_organizational() {document.getElementById('content_organizational').style.display='none';}
function show_it() {document.getElementById('content_it').style.display='block';}
function hide_it() {document.getElementById('content_it').style.display='none';}
function show_human() {document.getElementById('content_human').style.display='block';}
function hide_human() {document.getElementById('content_human').style.display='none';}
function show_coaching() {document.getElementById('content_coaching').style.display='block';}
function hide_coaching() {document.getElementById('content_coaching').style.display='none';}
function show_personal() {document.getElementById('content_personal').style.display='block';}
function hide_personal() {document.getElementById('content_personal').style.display='none';}
function show_communication() {document.getElementById('content_communication').style.display='block';}
function hide_communication() {document.getElementById('content_communication').style.display='none';}
function show_leadership() {document.getElementById('content_leadership').style.display='block';}
function hide_leadership() {document.getElementById('content_leadership').style.display='none';}
function show_business() {document.getElementById('content_business').style.display='block';}
function hide_business() {document.getElementById('content_business').style.display='none';}
function show_project() {document.getElementById('content_project').style.display='block';}
function hide_project() {document.getElementById('content_project').style.display='none';}
function show_strategy() {document.getElementById('content_strategy').style.display='block';}
function hide_strategy() {document.getElementById('content_strategy').style.display='none';}
function show_sales() {document.getElementById('content_sales').style.display='block';}
function hide_sales() {document.getElementById('content_sales').style.display='none';}
function show_finance() {document.getElementById('content_finance').style.display='block';}
function hide_finance() {document.getElementById('content_finance').style.display='none';}
function show_sme() {document.getElementById('content_sme').style.display='block';}
function hide_sme() {document.getElementById('content_sme').style.display='none';}
function show_law() {document.getElementById('content_law').style.display='block';}
function hide_law() {document.getElementById('content_law').style.display='none';}
function show_industries() {document.getElementById('content_industries').style.display='block';}
function hide_industries() {document.getElementById('content_lndustries').style.display='none';}
function show_regions() {document.getElementById('content_regions').style.display='block';}
function hide_regions() {document.getElementById('content_regions').style.display='none';}
function show_biographies() {document.getElementById('content_biographies').style.display='block';}
function hide_biographies() {document.getElementById('content_biographies').style.display='none';}
function show_manage() {document.getElementById('content_manage').style.display='block';}
function hide_manage() {document.getElementById('content_manage').style.display='none';}
//Bookmarks Folder Expand Collapse
function expand_folder() {document.getElementById('customContent002').style.display='block';}
function collapse_folder() {document.getElementById('customContent002').style.display='none';}
//Bookmarks Show / Hide Notes
function show_note01() {document.getElementById('note01').style.display='block';}
function hide_note01() {document.getElementById('note01').style.display='none';}
function show_note02() {document.getElementById('note02').style.display='block';}
function hide_note02() {document.getElementById('note02').style.display='none';}
function show_note03() {document.getElementById('note03').style.display='block';}
function hide_note03() {document.getElementById('note03').style.display='none';}
function show_note04() {document.getElementById('note04').style.display='block';}
function hide_note04() {document.getElementById('note04').style.display='none';}
//Bookmarks Edit / Save Notes
function edit01() {document.getElementById('edit01').style.display='block';}
function save01() {document.getElementById('edit01').style.display='none';}
function edit02() {document.getElementById('edit02').style.display='block';}
function save02() {document.getElementById('edit02').style.display='none';}
function edit03() {document.getElementById('edit03').style.display='block';}
function save03() {document.getElementById('edit03').style.display='none';}
function edit04() {document.getElementById('edit04').style.display='block';}
function save04() {document.getElementById('edit04').style.display='none';}
/*Folder Actions*/
function createFolder() {document.getElementById('createFolder').style.display='block';}
function saveFolderCreated() {document.getElementById('createFolder').style.display='none';}
function saveCancelChanges() {document.getElementById('editFolder').style.display='none';
document.getElementById('foldersArea').style.display='block';
}

