function imgSwap(img, swapid, title, titleid, desc, descid){
	imgplace=document.getElementById(swapid);
	imgplace.src=img;
	if(title != null && titleid != null){
		titleplace=document.getElementById(titleid);
		value=document.createTextNode(title);
	
		oldvalue = titleplace.firstChild;
	
		titleplace.replaceChild(value,oldvalue)
	}
	if(desc != null && descid != null){
		descplace=document.getElementById(descid);
		value=document.createTextNode(desc);
	
		oldvalue = descplace.firstChild;
	
		descplace.replaceChild(value,oldvalue)
	}
//	text = document.createTextNode(desc);
//	var oldtext = text.nodeValue;
//	text.nodeValue="something."
}

//	qTip Config:
/*$('div.active').qtip({
   content: $('div#active').html(),
   show: 'mouseover',
   hide: 'mouseout'
})*/
/*$.fn.qtip.styles.CatDesc = { // Last part is the name of the style
	width: 200,
	background: '#A2D959',
	color: 'black',
	textAlign: 'center',
	border: {
		width: 7,
		radius: 5,
		color: '#A2D959'
	},
	tip: 'bottomLeft',
	name: 'dark' // Inherit the rest of the attributes from the preset dark style
}*/