var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749384&x=944',
		'title': '',
		'imageId': '67749384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749388&x=944',
		'title': '',
		'imageId': '67749388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749386&x=944',
		'title': '',
		'imageId': '67749386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749390&x=944',
		'title': '',
		'imageId': '67749390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749385&x=944',
		'title': '',
		'imageId': '67749385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749387&x=944',
		'title': '',
		'imageId': '67749387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749383&x=944',
		'title': '',
		'imageId': '67749383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749392&x=944',
		'title': '',
		'imageId': '67749392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749389&x=944',
		'title': '',
		'imageId': '67749389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913919&docid=67749391&x=944',
		'title': '',
		'imageId': '67749391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913919';

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