



/*
 * Strips out <html> and <body> tags, so they dont conflict with the current page.
 */

$.stripHtmlRoots = function(data) {

	return data.replace(/<\/?html>/gi, '')
            .replace(/<\/?body>/gi, '')
            .replace(/\n/g, '');

};



