function popize(element,width,height,scrollbar)
{

if(
element == null ||
typeof element.nodeName == 'undefined' ||
element.nodeName != 'A' ||
typeof element.getAttributeNode == 'undefined' ||
(width != null && parseInt(width) == 'NaN') ||
(height != null && parseInt(height) == 'NaN')
)
return true;

if(width == null && height == null && scrollbar == null)

{
width=750;
height=510;
window.open
(
element.getAttributeNode('href').nodeValue,
'_blank',
'width=' + width + ',' +
'height=' + height + ',' +
'scrollbars=yes'
)
}
else
window.open
(
element.getAttributeNode('href').nodeValue,
parseInt(Math.random()*99999999)+'new',
'width=' + width + ',' +
'height=' + height + ',' +
'scrollbars=yes'

);

return false;
}


var noresize;

function autoSize()
{

	if (!noresize)
	{
	if(document.body.scrollHeight>700)	
	{ 	
		window.setTimeout("window.resizeTo(document.body.scrollWidth+240, 700)",2000); 
	} 
	else 
	{	
		document.body.style.overflow='hidden'; 
		window.setTimeout("window.resizeTo(document.body.scrollWidth, document.body.scrollHeight+35)",2000);
	}
	}
	return true;
}
