function portpic(p1, p2, t) {
	return "<img class=\"poza_articol\"  src=\"images/"+p1+"\" alt=\""+t+"\" title=\""+t+"\" \/><img class=\"poza_articol\"  src=\"images/"+p2+"\" alt=\""+t+"\" title=\""+t+"\" \/>";
}
function m(val) {
	obj = document.getElementById("menu_tooltip");
	pic = document.getElementById("top_things_pics");
	switch(val) {
		case 'home': obj.innerHTML = "The first page of my website.<br/>Go there if you are a client and want to log in to your project.";break;
		
		case 'portfolio': obj.innerHTML = "Visit the websites I have done. See the technologies I use and how I use them.<br/>This is the page that will probably make you decide whether to contact me or not.";break;
		
		case 'wip': obj.innerHTML = "Work In Progress. You will find projects I'm working on,<br/>different web pages that are not yet finished, ideas of mine and so on ...";break;
		
		case 'tutorials': obj.innerHTML = "Some tutorials I wrote in my spare time.<br/>If you are learning in the Web Design &amp; Development area I hope you will find them useful.";break;
		
		case 'contact': obj.innerHTML = "Find different ways to contact me.<br/>You can also read a bit about myself on this page.";break;
		
		default: obj.innerHTML = "<br\/>Portfolio&nbsp;&nbsp;&nbsp;&nbsp;v";
		break;
	}
}
function mc(val) {
	obj = document.getElementById("menu_tooltip");
	pic = document.getElementById("top_things_pics");
	switch(val) {
		case 'w2': obj.innerHTML = "Metal online community. News, interviews, events, photo gallery, etc.<br/>Developing time: 10 days. { <a href=\"http://www.mpavel.ro/mm/\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("mm1.jpg", "mm2.jpg", "Metal Maniac online community");
		break;
		
		case 'w3': obj.innerHTML = "This is a model for a webpage. Unfortunately it was not desired by the owner.<br/>The website only has the first page active. { <a href=\"http://www.mpavel.ro/km/\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("sm1.jpg", "sm2.jpg", "School Of Music");
		break;
		
		case 'w4': obj.innerHTML = "eFOR - Only for fans! Photoshop design by www.enasonidesign.com<br/>XHTML, CSS &amp; development by MPavel.ro { <a href=\"http://www.efor.ro\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("ef1.jpg", "ef2.jpg", "eFOR - Only for fans!");
		break;
		
		case 'w5': obj.innerHTML = "OFFICEMAT30 - Office Supplies - OsCommerce platform with custom design.<br/>Special module for uploading files available only for registered users. { <a href=\"http://www.officemat30.ro/\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("of1.jpg", "of2.jpg", "OFFICEMAT30 - All you need in your office!");
		break;
		
		case 'w6': obj.innerHTML = "Stefan Motec Lawyer's Office Timisoara - Simple design for easy access to information.<br/>Website is using a custom CMS by MPavel.ro. Currently working on a new design. { <a href=\"http://www.avocatmotec.ro/\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("ms1.jpg", "ms2.jpg", "Stefan Motec - Lawyer's Office Timisoara");
		break;
		
		case 'w7': obj.innerHTML = "Valid XHTML & CSS. A presentation for the company's products.<br\/>{ <a href=\"http://www.timstone.ro/\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("ts1.jpg", "ts2.jpg", "TimSTONE");
		break;
		
		case 'w8': obj.innerHTML = "Purpose of website? Information about driving school, prices, available cars, etc.<br\/>Currently working on a new design. { <a href=\"http://www.scoalaalfa.ro/\" target=\"_blank\">go to site<\/a> }";
			pic.innerHTML = portpic("sa1.jpg", "sa2.jpg", "ALFA Driving School");
		break;
		
		default: obj.innerHTML = "<br\/>Portfolio&nbsp;&nbsp;&nbsp;&nbsp;v";
		break;
	}
}

mm1 = new Image();
mm1.src = "images/mm1.jpg";
mm2 = new Image();
mm2.src = "images/mm2.jpg";

ms1 = new Image();
ms1.src = "images/ms1.jpg";
ms2 = new Image();
ms2.src = "images/ms2.jpg";

ef1 = new Image();
ef1.src = "images/ef1.jpg";
ef2= new Image();
ef2.src = "images/ef2.jpg";

of1 = new Image();
of1.src = "images/of1.jpg";
of2 = new Image();
of2.src = "images/of2.jpg";

sa1 = new Image();
sa1.src = "images/sa1.jpg";
sa2 = new Image();
sa2.src = "images/sa2.jpg";

sm1 = new Image();
sm1.src = "images/sm1.jpg";
sm2 = new Image();
sm2.src = "images/sm2.jpg";

ts1 = new Image();
ts1.src = "images/ts1.jpg";
ts2 = new Image();
ts2.src = "images/ts2.jpg";