var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358273&x=197',
		'title': '',
		'imageId': '69358273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358274&x=197',
		'title': '',
		'imageId': '69358274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358276&x=197',
		'title': '',
		'imageId': '69358276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358277&x=197',
		'title': '',
		'imageId': '69358277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358275&x=197',
		'title': '',
		'imageId': '69358275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358279&x=197',
		'title': '',
		'imageId': '69358279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358280&x=197',
		'title': '',
		'imageId': '69358280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358278&x=197',
		'title': '',
		'imageId': '69358278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358281&x=197',
		'title': '',
		'imageId': '69358281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358283&x=197',
		'title': '',
		'imageId': '69358283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358282&x=197',
		'title': '',
		'imageId': '69358282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358284&x=197',
		'title': '',
		'imageId': '69358284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358285&x=197',
		'title': '',
		'imageId': '69358285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358286&x=197',
		'title': '',
		'imageId': '69358286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358287&x=197',
		'title': '',
		'imageId': '69358287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984216&docid=69358288&x=197',
		'title': '',
		'imageId': '69358288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984216';

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";
	})
}
