function openSite(lang)
{
	try
	{
		// open the window...
		var win = window.open("irudiqs_de.htm" + "/", lang + "sitewin", "width="+screen.availWidth+",height="+screen.availHeight+",top=0,left=0,resizable=no,resizable=0,status=no,status=0");
	
		//resize this window...
		if (document.all) 
		{
			win.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) 
		{
			if (win.outerHeight<screen.availHeight||win.outerWidth<screen.availWidth)
			{
				win.outerHeight = screen.availHeight;
				win.outerWidth = screen.availWidth;
			}	
		}
	}
	catch(e)
	{
		// redirect to the blocked page...
		top.location = lang + "/popupblocked.cfm";
		return;
	}

	// redirect to the thank you page...
	top.location = lang + "/thankyou.cfm";
}


function openAccessibleSite(screenreader)
{
	try
	{
		if (screenreader)
		{
			var pg = "?sr=y";
		}
		else
		{
			var pg = "";
		}
		// open the window...
		var win = window.open("irudiqs_de.htm" + pg, "Irudiqs_de", "width="+screen.availWidth+",height="+screen.availHeight+",top=0,left=0,resizable=no,resizable=0,status=no,status=0");
		
		//resize this window...
		if (document.all) 
		{
			win.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) 
		{
			if (win.outerHeight<screen.availHeight||win.outerWidth<screen.availWidth)
			{
				win.outerHeight = screen.availHeight;
				win.outerWidth = screen.availWidth;
			}	
		}
	}
	catch(e)
	{
	}
}
function openSite1(lang)
{
	try
	{
		// open the window...
		var win = window.open("quienes_somos_en.htm" + "/", lang + "sitewin", "width="+screen.availWidth+",height="+screen.availHeight+",top=0,left=0,resizable=no,resizable=0,status=no,status=0");
	
		//resize this window...
		if (document.all) 
		{
			win.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) 
		{
			if (win.outerHeight<screen.availHeight||win.outerWidth<screen.availWidth)
			{
				win.outerHeight = screen.availHeight;
				win.outerWidth = screen.availWidth;
			}	
		}
	}
	catch(e)
	{
		// redirect to the blocked page...
		top.location = lang + "/popupblocked.cfm";
		return;
	}

	// redirect to the thank you page...
	top.location = lang + "/thankyou.cfm";
}


function openAccessibleSite1(screenreader)
{
	try
	{
		if (screenreader)
		{
			var pg = "?sr=y";
		}
		else
		{
			var pg = "";
		}
		// open the window...
		var win = window.open("quienes_somos_en.htm" + pg, "quienes_somos_en", "width="+screen.availWidth+",height="+screen.availHeight+",top=0,left=0,resizable=no,resizable=0,status=no,status=0");
		
		//resize this window...
		if (document.all) 
		{
			win.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) 
		{
			if (win.outerHeight<screen.availHeight||win.outerWidth<screen.availWidth)
			{
				win.outerHeight = screen.availHeight;
				win.outerWidth = screen.availWidth;
			}	
		}
	}
	catch(e)
	{
	}
}


function openSite2(lang)
{
	try
	{
		// open the window...
		var win = window.open("irudiqs_es.htm" + "/", lang + "sitewin", "width="+screen.availWidth+",height="+screen.availHeight+",top=0,left=0,resizable=no,resizable=0,status=no,status=0");
	
		//resize this window...
		if (document.all) 
		{
			win.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) 
		{
			if (win.outerHeight<screen.availHeight||win.outerWidth<screen.availWidth)
			{
				win.outerHeight = screen.availHeight;
				win.outerWidth = screen.availWidth;
			}	
		}
	}
	catch(e)
	{
		// redirect to the blocked page...
		top.location = lang + "/popupblocked.cfm";
		return;
	}

	// redirect to the thank you page...
	top.location = lang + "/thankyou.cfm";
}


function openAccessibleSite2(screenreader)
{
	try
	{
		if (screenreader)
		{
			var pg = "?sr=y";
		}
		else
		{
			var pg = "";
		}
		// open the window...
		var win = window.open("irudiqs_es.htm" + pg, "Irudiqs_es", "width="+screen.availWidth+",height="+screen.availHeight+",top=0,left=0,resizable=no,resizable=0,status=no,status=0");
		
		//resize this window...
		if (document.all) 
		{
			win.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) 
		{
			if (win.outerHeight<screen.availHeight||win.outerWidth<screen.availWidth)
			{
				win.outerHeight = screen.availHeight;
				win.outerWidth = screen.availWidth;
			}	
		}
	}
	catch(e)
	{
	}
}

