var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845343&x=3350',
		'title': '',
		'imageId': '67845343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845334&x=3350',
		'title': '',
		'imageId': '67845334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845338&x=3350',
		'title': '',
		'imageId': '67845338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845337&x=3350',
		'title': '',
		'imageId': '67845337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845339&x=3350',
		'title': '',
		'imageId': '67845339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845336&x=3350',
		'title': '',
		'imageId': '67845336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845333&x=3350',
		'title': '',
		'imageId': '67845333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845342&x=3350',
		'title': '',
		'imageId': '67845342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845341&x=3350',
		'title': '',
		'imageId': '67845341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845335&x=3350',
		'title': '',
		'imageId': '67845335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917642&docid=67845340&x=3350',
		'title': '',
		'imageId': '67845340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917642';

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