var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316272&x=1333',
		'title': '',
		'imageId': '67316272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316274&x=1333',
		'title': '',
		'imageId': '67316274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316271&x=1333',
		'title': '',
		'imageId': '67316271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316273&x=1333',
		'title': '',
		'imageId': '67316273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316277&x=1333',
		'title': '',
		'imageId': '67316277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316275&x=1333',
		'title': '',
		'imageId': '67316275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316270&x=1333',
		'title': '',
		'imageId': '67316270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67316276&x=1333',
		'title': '',
		'imageId': '67316276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67467343&x=1333',
		'title': '',
		'imageId': '67467343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3897049&docid=67467386&x=1333',
		'title': '',
		'imageId': '67467386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3897049';

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