/* product_pdf */
var arrPDF = new Array();

function parsePDF() {
	var qs = location.search;
	
	if (qs.indexOf("pdf=")!=-1) {
		pdf = parseInt(qs.substr(qs.indexOf("pdf=")+4));
	} else {
		return false;
	}
	
	if (pdf<1) return false;
	
	for (i=9;i>-1;i--) {
		if (Math.pow(2,i)<=pdf) {
			pdf -= Math.pow(2,i);
			arrPDF[i] = true;
		} else {
			arrPDF[i] = false;
		}
	}
	
	return true;
}
