rem: document.getElementsByName('height_table')[0].height=document.getElementsByName('image')[0].height*ratio; document.getElementsByName('height_table')[1].height=document.getElementsByName('image')[0].height*ratio; 
context: function imageSize(size){	if (size==0)	{				document.getElementsByName('image')[0].width=width;		document.getElementsByName('image')[0].height=height;	}	else	{		if ((window.innerWidth-document.getElementsByName('image')[0].width)>(window.innerHeight-document.getElementsByName('image')[0].height))		{			// adjust height			ratio=(window.innerHeight)/document.getElementsByName('image')[0].height;			document.getElementsByName('image')[0].height=(window.innerHeight);			document.getElementsByName('height_table')[0].height=(window.innerHeight);			document.getElementsByName('height_table')[1].height=(window.innerHeight);			document.getElementsByName('image')[0].width=document.getElementsByName('image')[0].width*ratio;					}		else		{			// adjust breit 			ratio=(window.innerWidth)/document.getElementsByName('image')[0].width;			document.getElementsByName('image')[0].width=(window.innerWidth);			document.getElementsByName('image')[0].height=document.getElementsByName('image')[0].height*ratio;			document.getElementsByName('height_table')[0].height=document.getElementsByName('image')[0].height*ratio;			document.getElementsByName('height_table')[1].height=document.getElementsByName('image')[0].height*ratio;		}	}		}
meta: 8621	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8621/7128aac51cf468f140be63c3ef02466ff82a5f9f/functions.js/clean/phreakpic/templates/standard_black/functions.js