var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887954&x=3515',
		'title': '',
		'imageId': '66887954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887955&x=3515',
		'title': '',
		'imageId': '66887955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887956&x=3515',
		'title': '',
		'imageId': '66887956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887957&x=3515',
		'title': '',
		'imageId': '66887957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887958&x=3515',
		'title': '',
		'imageId': '66887958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887959&x=3515',
		'title': '',
		'imageId': '66887959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887960&x=3515',
		'title': '',
		'imageId': '66887960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887961&x=3515',
		'title': '',
		'imageId': '66887961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887962&x=3515',
		'title': '',
		'imageId': '66887962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953799&docid=66887963&x=3515',
		'title': '',
		'imageId': '66887963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953799';

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