var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862404&x=289',
		'title': '',
		'imageId': '68862404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862403&x=289',
		'title': '',
		'imageId': '68862403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862405&x=289',
		'title': '',
		'imageId': '68862405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862406&x=289',
		'title': '',
		'imageId': '68862406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862407&x=289',
		'title': '',
		'imageId': '68862407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862402&x=289',
		'title': '',
		'imageId': '68862402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862410&x=289',
		'title': '',
		'imageId': '68862410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862409&x=289',
		'title': '',
		'imageId': '68862409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862401&x=289',
		'title': '',
		'imageId': '68862401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862408&x=289',
		'title': '',
		'imageId': '68862408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862400&x=289',
		'title': '',
		'imageId': '68862400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962249&docid=68862399&x=289',
		'title': '',
		'imageId': '68862399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962249';

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