var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898718&x=256',
		'title': '',
		'imageId': '67898718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898720&x=256',
		'title': '',
		'imageId': '67898720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898719&x=256',
		'title': '',
		'imageId': '67898719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898721&x=256',
		'title': '',
		'imageId': '67898721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898722&x=256',
		'title': '',
		'imageId': '67898722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898723&x=256',
		'title': '',
		'imageId': '67898723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898724&x=256',
		'title': '',
		'imageId': '67898724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898725&x=256',
		'title': '',
		'imageId': '67898725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898726&x=256',
		'title': '',
		'imageId': '67898726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919863&docid=67898727&x=256',
		'title': '',
		'imageId': '67898727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919863';

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