 function loadTwo(iframe1URL, iframe2URL)
     {
     parent.hold_1.location.href=iframe1URL 
     parent.hold_2.location.href=iframe2URL 
     }

function calcHeight(the_iframe) 
     { 
     the_iframe.style.height = the_iframe.contentWindow.document.body.scrollHeight; //changement de la hauteur
     the_iframe.style.width = the_iframe.contentWindow.document.body.scrollWidth; //changement de la largeur 
     } 

function P7_ExpMenu(){ //v1.1.0.2 by PVII-www.projectseven.com
 if(navigator.appVersion.indexOf("MSIE")==-1){return;}
 var i,k,g,lg,r=/\s*p7hvr/,nn='',c,cs='p7hvr',bv='p7menubar';
 for(i=0;i<10;i++){g=document.getElementById(bv+nn);if(g){
 lg=g.getElementsByTagName("LI");if(lg){for(k=0;k<lg.length;k++){
 lg[k].onmouseover=function(){c=this.className;cl=(c)?c+' '+cs:cs;
 this.className=cl;};lg[k].onmouseout=function(){c=this.className;
 this.className=(c)?c.replace(r,''):'';};}}}nn=i+1;}
}

function postage(one,two,three){ 
   window.location = 'mailto:'+one+two+three;} 

function toggle(id){
    ul = "ul_" + id;
    img = "img_" + id;
    ulElement = document.getElementById(ul);
    imgElement = document.getElementById(img);
    if (ulElement){
            if (ulElement.className == 'closed'){
                    ulElement.className = "open";
                    imgElement.src = "images/opened.png";
                    }else{
                    ulElement.className = "closed";
                    imgElement.src = "images/closed.png";
                    }
            }
    }



function formCheck(formobj){
	var fieldRequired = Array("firstname", "lastname","profession","organisation","email");
	var fieldDescription = Array("First Name", "Last Name","Profession","Organisation","Email");
	var alertMsg = "Please complete the following fields:\n";
	
	var l_Msg = alertMsg.length;
	
	for (var i = 0; i < fieldRequired.length; i++){
		var obj = formobj.elements[fieldRequired[i]];
		if (obj){
			switch(obj.type){
			case "select-one":
				if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "select-multiple":
				if (obj.selectedIndex == -1){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			case "text":
			case "textarea":
				if (obj.value == "" || obj.value == null){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
				break;
			default:
			}
			if (obj.type == undefined){
				var blnchecked = false;
				for (var j = 0; j < obj.length; j++){
					if (obj[j].checked){
						blnchecked = true;
					}
				}
				if (!blnchecked){
					alertMsg += " - " + fieldDescription[i] + "\n";
				}
			}
		}
	}

	if (alertMsg.length == l_Msg){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}

function fbs_click() {
u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;
}


yahooBuzzArticleHeadline = "<dtml-var page_title>";











(function($){
$.fn.assemblyLine = function(s,h,speed){
var self = this;
var hov;
$("<div></div>").addClass("container").css("position", "relative").insertBefore(self.slice(0,1)).append(self)
while (self.length &lt;= s) { self = self.add(self.clone().appendTo(".container")) }
self.css({"position":"absolute"})
.each(function(i){
$(this).css("top", h*i); 
}).slice(s).hide();
function tick(){
$(".container").children().slice(0,1).fadeOut(speed/6, function(){
$(this).clone().appendTo(".container");
$(this).remove();
$(".container").children()
.each(function(i){
$(this).animate({top: h*i}, speed/6); 
}).slice(s-1,s).fadeIn(speed/6)
}); 
};
kjoer = setInterval(tick, speed);
return self;
};
})(jQuery);
http://icosgroup.net/
$(function(){
$(".article").assemblyLine(7,124,4000);
});


























	
function start() {   
        P7_ExpMenu();
                 } 
	 
window.onload = start; 
