	windowStyle = 0;
	function burates() {
		if(!windowStyle) windowStyle = addStyleToDOM('/css/test.css');
		$aaad  = createWindow('wiwiw','contentURL:backuprates2.html;yPos:100px;xPos:100px;title:Off-Site Backup For Security & Peace Of Mind;height:300px;width:750px');
	}
	
window.onload = function(){
	t = setTimeout("loadQnAeditor()",1000);
}
qaEditor = null;
function loadQnAeditor(){
	var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event;
	var myConfig = {
		height: '200px',
		width: '593px',
		dompath: true,
		focusAtStart: true,
		toolbar: {
			collapse: true,
			titlebar: 'Site Feedback',
			buttonType: 'advanced',
			buttons: [{
				group: 'textstyle',
				label: 'Font Style',
				buttons: [{
					type: 'push',
					label: 'Bold CTRL + SHIFT + B',
					value: 'bold'
				}, {
					type: 'push',
					label: 'Italic CTRL + SHIFT + I',
					value: 'italic'
				}, {
					type: 'push',
					label: 'Underline CTRL + SHIFT + U',
					value: 'underline'
				}, {
					type: 'separator'
				}, {
					type: 'push',
					label: 'Subscript',
					value: 'subscript'
				}, {
					type: 'push',
					label: 'Superscript',
					value: 'superscript'
				}, {
					type: 'separator'
				}, {
					type: 'color',
					label: 'Font Color',
					value: 'forecolor'
				}, {
					type: 'color',
					label: 'Background Color',
					value: 'backcolor'
				}, {
					type: 'separator'
				}, {
					type: 'push',
					label: 'Remove Formatting',
					value: 'removeformat'
				}]
			}, {
				type: 'separator'
			}, {
				group: 'indentlist',
				label: 'Lists',
				buttons: [{
					type: 'push',
					label: 'Create an Unordered List',
					value: 'insertunorderedlist'
				}, {
					type: 'push',
					label: 'Create an Ordered List',
					value: 'insertorderedlist'
				}]
			}]
		
		}
	};
	 
	qaEditor = new YAHOO.widget.Editor('askAquestion', myConfig);
	yuiImgUploader(qaEditor, 'askAquestion', '/resourceUploader.html','Filedata');
	insertImgRemoveLink(qaEditor, 'askAquestion');
	insertImgCropperBtn(qaEditor, 'askAquestion');
	qaEditor.render();
}
alertResponse = function(o) {
	result = o.responseText;
	f = document.qaForm;
	if(result.indexOf('Your question has been received.') == 0) {
		f.qaName.value = '';
		f.qaEmail.value = '';
		f.qaSubject.value = '';
		qaEditor.setEditorHTML('')
	}
	alert(o.responseText);	
	f.submitBtn.disabled=false;
}
submitQuestion = function(o) {
		submitCallback = {success: alertResponse,failure: alertResponse }
		qaEditor.saveHTML(); 
		questionCode = urlEncodeCustom(qaEditor.get('element').value);
		
		f = document.qaForm;
		name = urlEncodeCustom(f.qaName.value);
		email = urlEncodeCustom(f.qaEmail.value);
		subject = urlEncodeCustom(f.qaSubject.value);
		
		sUrl = "/home/processfeedback.html?questionText="+questionCode+"&qaSubject="+subject+"&qaEmail="+email+"&qaName="+name;
		request = YAHOO.util.Connect.asyncRequest('GET', sUrl, submitCallback);
}
//custom button example
/*
	submitCallback = {success: alertResponse,failure: alertResponse, argument: { foo:"foo", bar:"bar" } }
	qaEditor.on('toolbarLoaded', function() { 
	    //Using the Dynamic Event cmdClick where cmd is the value of the button above 
	    this.toolbar.on('submitClick', function(o) { 
			qaEditor.saveHTML(); 
			questionCode = urlEncodeCustom(qaEditor.get('element').value);  
			sUrl = "/qanda/processQuestion.html?questionText="+questionCode;
			request = YAHOO.util.Connect.asyncRequest('GET', sUrl, submitCallback); 
	    });  
	}, qaEditor, true);
*/
function guid(t) {
	var alphaStr = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
	t = (t) ? t.substring(0,3)+'_' : 'uid_';
	for (loop=1; loop<=32; loop++) {
		t = t + alphaStr.charAt(Math.random() * 62);
	}
	return t;
}