var DOMViewerObj;
var DOMViewerName ='kk';

//i = new Image;
//i.src = "/screen?i="+screen.width+"&"+screen.height+"&"+screen.pixelDepth+"&"+window.innerWidth+"&"+window.innerHeight;


// this is for maintaining a maximum size even in MSIE. The max-width property does it for Mozilla/Netscape.
/*@cc_on
@if (@_win32 && @_jscript_version>4)

window.attachEvent('onresize',max_width);
window.attachEvent('onload',max_width);

function max_width()
{
        b=document.body;

        if ( b.clientWidth>1024 )
	{
                b.style.marginRight=(b.clientWidth-1024)+'px';
	//	b.style.background='red';
	}	
        else
                b.style.marginRight='';
}

@end @*/

// escaping from somebodyelses frameset
// if we're not in the top frame, make sure we end up in it regardless.

//if ( top!=self ) top.location.href=document.URL;
if ( top!=self ) location.href="/framed?url="+document.URL;
