var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361173&x=2937',
		'title': '',
		'imageId': '69361173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361165&x=2937',
		'title': '',
		'imageId': '69361165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361170&x=2937',
		'title': '',
		'imageId': '69361170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361166&x=2937',
		'title': '',
		'imageId': '69361166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361172&x=2937',
		'title': '',
		'imageId': '69361172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361502&x=2937',
		'title': '',
		'imageId': '69361502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361504&x=2937',
		'title': '',
		'imageId': '69361504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361503&x=2937',
		'title': '',
		'imageId': '69361503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361164&x=2937',
		'title': '',
		'imageId': '69361164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361168&x=2937',
		'title': '',
		'imageId': '69361168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361167&x=2937',
		'title': '',
		'imageId': '69361167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984254&docid=69361171&x=2937',
		'title': '',
		'imageId': '69361171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984254';

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