﻿function Initialize1()
{
	document.getElementById("m1").src="/images/Products/b1.jpg";	
	document.getElementById("m2").src="/images/Products/b2.jpg";	
	document.getElementById("m3").src="/images/Products/b3.jpg";	
	document.getElementById("m4").src="/images/Products/b4.jpg";
	document.getElementById("m5").src="/images/Products/b5.jpg";	
	document.getElementById("m6").src="/images/Products/b6.jpg";
	document.getElementById("divone").style.display="none";
	document.getElementById("divtwo").style.display="none";
	document.getElementById("divthree").style.display="none";
	document.getElementById("divfour").style.display="none";
	document.getElementById("divfive").style.display="none";
	document.getElementById("divsix").style.display="none";
	
}
function Initialize11()
{
	var dir = location.href.substring(0,location.href);		
	var url = location.href.substring(dir.length,location.href.length+1);
	Modelid=url.split("?")[1];
	Modelid=url.split("&");
	document.getElementById(Modelid[0].split("=")[1]).src="/images/Products/h"+ Modelid[1].split("=")[1] + ".jpg";	
	
	if(document.getElementById(Modelid[2].split("=")[1]).value !="divone")
	{
	document.getElementById("divone").style.display="none";
	document.getElementById(Modelid[2].split("=")[1]).style.display = "block";
	}
	
	
}
function Initialize22()
{
	var dir = location.href.substring(0,location.href);		
	var url = location.href.substring(dir.length,location.href.length+1);
	Modelid=url.split("?")[1];
	Modelid=url.split("&");
	document.getElementById(Modelid[0].split("=")[1]).src="/images/Solutions/jh"+ Modelid[1].split("=")[1] + ".jpg";	
	
	if(document.getElementById(Modelid[2].split("=")[1]).value !="divjone")
	{
	document.getElementById("divjone").style.display="none";
	document.getElementById(Modelid[2].split("=")[1]).style.display = "block";
	}
	
	
}
function setDisSynthesizeNews1(imgId,iPic,contentDivID)
{
	Initialize1();
	if(imgId==null || document.getElementById(contentDivID)==null) return;	
	imgId.src="/images/Products/h" + iPic + ".jpg";
	document.getElementById(contentDivID).style.display = "block";
	
}

function Initialize2()
{
	document.getElementById("mm1").src="/images/Solutions/jb1.jpg";	
	document.getElementById("mm2").src="/images/Solutions/jb2.jpg";	
	document.getElementById("mm3").src="/images/Solutions/jb3.jpg";	
	document.getElementById("mm4").src="/images/Solutions/jb4.jpg";
	document.getElementById("divjone").style.display="none";
	document.getElementById("divjtwo").style.display="none";
	document.getElementById("divjthree").style.display="none";
	document.getElementById("divjfour").style.display="none";
}
function setDisSynthesizeNews2(imgId,iPic,contentDivID)
{
	Initialize2();
	if(imgId==null || document.getElementById(contentDivID)==null) return;	
	imgId.src="/images/Solutions/jh" + iPic + ".jpg";
	document.getElementById(contentDivID).style.display = "block";
}
function Initialize3()
{
	document.getElementById("mmm1").src="/images/Successstories/cb1.jpg";	
	document.getElementById("mmm2").src="/images/Successstories/cb2.jpg";	
	document.getElementById("mmm3").src="/images/Successstories/cb3.jpg";	
	
	
}
function setDisSynthesizeNews3(imgId,iPic)
{
	Initialize3();
	if(imgId==null) return;	
	imgId.src="/images/Successstories/ch" + iPic + ".jpg";
	
}
