﻿function searchHTMLFile(url){var urlCash = url + "?"+(new Date()).getTime();new Ajax.Request(urlCash, { method: 'get', onComplete: displayData });}function displayData(httpObj) {$("dispLiteArea").innerHTML = colorCheck(httpObj.responseText);}function colorCheck(htmlText) {	var resultText = htmlText ;	var found = false;	if ((htmlText.match('アイス')) 		&& $("color13").checked) {found = true;}	if ((htmlText.match('グロス')) 		&& $("color16").checked) {found = true;}	if ((htmlText.match('メタリック')) 	&& $("color17").checked) {found = true;}	if ((htmlText.match('クリムゾン')) 	&& $("color18").checked) {found = true;}	if ($("test1").checked) {found = true;}	if (found != false) {		resultText += '<embed src="soundOn.mp3"  hidden="true" play="true" loop="false" autostart="true" width="1" height="1" volume="100"></embed>' ;	}	return resultText ;}