var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744390&x=5651',
		'title': '',
		'imageId': '69744390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744391&x=5651',
		'title': '',
		'imageId': '69744391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744398&x=5651',
		'title': '',
		'imageId': '69744398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744396&x=5651',
		'title': '',
		'imageId': '69744396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744397&x=5651',
		'title': '',
		'imageId': '69744397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744388&x=5651',
		'title': '',
		'imageId': '69744388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744392&x=5651',
		'title': '',
		'imageId': '69744392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744394&x=5651',
		'title': '',
		'imageId': '69744394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744393&x=5651',
		'title': '',
		'imageId': '69744393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744389&x=5651',
		'title': '',
		'imageId': '69744389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001252&docid=69744395&x=5651',
		'title': '',
		'imageId': '69744395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001252';

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