function isPalindrome(strToCheck) {
strToCheck = strToCheck.toLowerCase().replace(/[,.\-/'/"\s]/g, '');
return strToCheck.split("").reverse() === strToCheck;
}
var mass = ["https://www.myscore.ru/match/bNYBihO3/#odds-comparison;over-under;full-time", "https://www.myscore.ru/match/nRJYS03A/#odds-comparison;over-under;full-time"];
var page, fs;
for(var i=1; i<mass.length; i++){
page = require('webpage').create();
fs = require('fs');
page.open(mass[0]);
page.onLoadFinished = function() {
fs.write('text'+i+'.html', page.content, 'w');
};
}
phantom.exit();