var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799273&x=315',
		'title': '',
		'imageId': '67799273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799289&x=315',
		'title': '',
		'imageId': '67799289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799290&x=315',
		'title': '',
		'imageId': '67799290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799282&x=315',
		'title': '',
		'imageId': '67799282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799283&x=315',
		'title': '',
		'imageId': '67799283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799284&x=315',
		'title': '',
		'imageId': '67799284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799278&x=315',
		'title': '',
		'imageId': '67799278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799270&x=315',
		'title': '',
		'imageId': '67799270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799272&x=315',
		'title': '',
		'imageId': '67799272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799276&x=315',
		'title': '',
		'imageId': '67799276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799286&x=315',
		'title': '',
		'imageId': '67799286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799280&x=315',
		'title': '',
		'imageId': '67799280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799269&x=315',
		'title': '',
		'imageId': '67799269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799271&x=315',
		'title': '',
		'imageId': '67799271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799277&x=315',
		'title': '',
		'imageId': '67799277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799274&x=315',
		'title': '',
		'imageId': '67799274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799268&x=315',
		'title': '',
		'imageId': '67799268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799279&x=315',
		'title': '',
		'imageId': '67799279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799275&x=315',
		'title': '',
		'imageId': '67799275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799285&x=315',
		'title': '',
		'imageId': '67799285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799288&x=315',
		'title': '',
		'imageId': '67799288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799287&x=315',
		'title': '',
		'imageId': '67799287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916273&docid=67799281&x=315',
		'title': '',
		'imageId': '67799281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916273';

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