var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626686&x=1738',
		'title': '',
		'imageId': '626686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626687&x=1738',
		'title': '',
		'imageId': '626687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626688&x=1738',
		'title': '',
		'imageId': '626688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626689&x=1738',
		'title': '',
		'imageId': '626689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626690&x=1738',
		'title': '',
		'imageId': '626690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626691&x=1738',
		'title': '',
		'imageId': '626691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626692&x=1738',
		'title': '',
		'imageId': '626692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626693&x=1738',
		'title': '',
		'imageId': '626693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626694&x=1738',
		'title': '',
		'imageId': '626694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626695&x=1738',
		'title': '',
		'imageId': '626695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626696&x=1738',
		'title': '',
		'imageId': '626696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626697&x=1738',
		'title': '',
		'imageId': '626697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626698&x=1738',
		'title': '',
		'imageId': '626698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626699&x=1738',
		'title': '',
		'imageId': '626699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626700&x=1738',
		'title': '',
		'imageId': '626700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626701&x=1738',
		'title': '',
		'imageId': '626701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626702&x=1738',
		'title': '',
		'imageId': '626702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626703&x=1738',
		'title': '',
		'imageId': '626703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626704&x=1738',
		'title': '',
		'imageId': '626704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626705&x=1738',
		'title': '',
		'imageId': '626705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626706&x=1738',
		'title': '',
		'imageId': '626706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626707&x=1738',
		'title': '',
		'imageId': '626707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179578&docid=626708&x=1738',
		'title': '',
		'imageId': '626708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179578';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
