jQuery(document).ready(

	/*
	This function gets loaded when all the HTML, not including the portlets, is
	loaded.
	*/

	function() {
	}
);

Liferay.Portlet.ready(

	/*
	This function gets loaded after each and every portlet on the page.

	portletId: the current portlet's id
	jQueryObj: the jQuery wrapped object of the current portlet
	*/

	function(portletId, jQueryObj) {
	}
);

jQuery(document).last(

	/*
	This function gets loaded when everything, including the portlets, is on
	the page.
	*/

	function() {
	}
);




// JScript File

var menu1=new Array()
menu1[0]='<a href="AddBlog.aspx">Design</a>'
menu1[1]='<a href="Interactive.aspx">Interactive</a>'
menu1[2]='<a href="Marketing.aspx">Marketing</a>'
menu1[3]='<a href="Technology.aspx">Technology</a>'

var menu2=new Array()
menu2[0]='<a href="Partners.aspx">Partners </a>'
menu2[1]='<a href="Thirdparty.aspx">Third Parties Suppliers </a>'

var menu3=new Array()
menu3[0]='<a href="AboutIq.aspx">About us</a>'
menu3[1]='<a href="Team.aspx">Team</a>'
menu3[2]='<a href="Client.aspx">Clients</a>'


var LI=new Array()
LI.concat(UL);

var UL = new Array();

UL[0]='<a href="AddBlog.aspx">AddBlog</a>'
UL[1]='<a href="AddBlog.aspx">Design</a>'
UL[2]='<a href="AddBlog.aspx">Design</a>'


function dropdown(nav)
 {

/* currentStyle restricts the Javascript to IE only */
	if (document.all && document.getElementById(nav).currentStyle) {  
        var navroot = document.getElementById(nav);
        
        /* Get all the list items within the menu */
//populatemenu(menucontents);

        var lis=navroot.getElementsByTagName("LI");  
        for (i=0; i<lis.length; i++) {
        
           /* If the LI has another menu level */
            if(lis[i].lastChild.tagName=="UL"){
            
                /* assign the function to the LI */
             	lis[i].onmouseover=function() {	
                
                   /* display the inner menu */
                   this.lastChild.style.display="block";
                }
                lis[i].onmouseout=function() {   
                   this.lastChild.style.display="none";
                }
            }
        }
    }
}


