var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888619&x=2734',
		'title': '',
		'imageId': '67888619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888622&x=2734',
		'title': '',
		'imageId': '67888622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888618&x=2734',
		'title': '',
		'imageId': '67888618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888617&x=2734',
		'title': '',
		'imageId': '67888617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888624&x=2734',
		'title': '',
		'imageId': '67888624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888625&x=2734',
		'title': '',
		'imageId': '67888625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888620&x=2734',
		'title': '',
		'imageId': '67888620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888623&x=2734',
		'title': '',
		'imageId': '67888623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888616&x=2734',
		'title': '',
		'imageId': '67888616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919112&docid=67888615&x=2734',
		'title': '',
		'imageId': '67888615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919112';

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