var pageWindow = function(wwindow,wurl){
    new MochaUI.Window({
				type: 'window',
        title: wwindow,
        loadMethod: 'iframe',
				draggable: true,
				minimizable: true,
				maximizable: false,
				collapsible: false,
				resizable: false,
				restrict: true,
        contentURL: 'pages/' + wurl,
        width: 700,
        height: 450
    });		
}

var siteWindow = function(wwindow,wurl){
    new MochaUI.Window({
				type: 'window',
        title: wwindow,
        loadMethod: 'iframe',
				draggable: true,
				minimizable: true,
				maximizable: true,
				collapsible: false,
				restrict: true,
				resizable: true,
        contentURL: wurl,
        width: 700,
        height: 450
    });		
}

